comparison runtime/syntax/st.vim @ 25773:11b656e74444

Update runtime files Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 9 21:55:11 2021 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Sep 2021 22:00:10 +0200
parents 46763b01cd9a
children
comparison
equal deleted inserted replaced
25772:55753c17b73d 25773:11b656e74444
42 syn region stString start='\'' skip="''" end='\'' 42 syn region stString start='\'' skip="''" end='\''
43 syn match stCharacter "$." 43 syn match stCharacter "$."
44 44
45 syn case ignore 45 syn case ignore
46 46
47 " the symols prefixed by a '#' 47 " the symbols prefixed by a '#'
48 syn match stSymbol "\(#\<[a-z_][a-z0-9_]*\>\)" 48 syn match stSymbol "\(#\<[a-z_][a-z0-9_]*\>\)"
49 syn match stSymbol "\(#'[^']*'\)" 49 syn match stSymbol "\(#'[^']*'\)"
50 50
51 " the variables in a statement block for loops 51 " the variables in a statement block for loops
52 syn match stBlockVariable "\(:[ \t]*\<[a-z_][a-z0-9_]*\>[ \t]*\)\+|" contained 52 syn match stBlockVariable "\(:[ \t]*\<[a-z_][a-z0-9_]*\>[ \t]*\)\+|" contained
56 syn match stFloat "\<\d\+\.\d*\(e[-+]\=\d\+\)\=[fl]\=\>" 56 syn match stFloat "\<\d\+\.\d*\(e[-+]\=\d\+\)\=[fl]\=\>"
57 syn match stFloat "\<\d\+e[-+]\=\d\+[fl]\=\>" 57 syn match stFloat "\<\d\+e[-+]\=\d\+[fl]\=\>"
58 58
59 syn case match 59 syn case match
60 60
61 " a try to higlight paren mismatches 61 " a try to highlight paren mismatches
62 syn region stParen transparent start='(' end=')' contains=ALLBUT,stParenError 62 syn region stParen transparent start='(' end=')' contains=ALLBUT,stParenError
63 syn match stParenError ")" 63 syn match stParenError ")"
64 syn region stBlock transparent start='\[' end='\]' contains=ALLBUT,stBlockError 64 syn region stBlock transparent start='\[' end='\]' contains=ALLBUT,stBlockError
65 syn match stBlockError "\]" 65 syn match stBlockError "\]"
66 syn region stSet transparent start='{' end='}' contains=ALLBUT,stSetError 66 syn region stSet transparent start='{' end='}' contains=ALLBUT,stSetError