From 27903c5b8656c796564ef073c1ebe77a2f0154e1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 28 Sep 2017 22:18:09 +0200 Subject: Revert inlining basic language pack --- syntax/st.vim | 99 ----------------------------------------------------------- 1 file changed, 99 deletions(-) delete mode 100644 syntax/st.vim (limited to 'syntax/st.vim') diff --git a/syntax/st.vim b/syntax/st.vim deleted file mode 100644 index 9e0a2d2d..00000000 --- a/syntax/st.vim +++ /dev/null @@ -1,99 +0,0 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1 - -" Vim syntax file -" Language: Smalltalk -" Maintainer: Arndt Hesse -" Last Change: 2012 Feb 12 by Thilo Six - -" quit when a syntax file was already loaded -if exists("b:current_syntax") - finish -endif - -let s:cpo_save = &cpo -set cpo&vim - -" some Smalltalk keywords and standard methods -syn keyword stKeyword super self class true false new not -syn keyword stKeyword notNil isNil inspect out nil -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" -syn match stMethod "\:" - -" the block of local variables of a method -syn region stLocalVariables start="^[ \t]*|" end="|" - -" the Smalltalk comment -syn region stComment start="\"" end="\"" - -" the Smalltalk strings and single characters -syn region stString start='\'' skip="''" end='\'' -syn match stCharacter "$." - -syn case ignore - -" the symols prefixed by a '#' -syn match stSymbol "\(#\<[a-z_][a-z0-9_]*\>\)" -syn match stSymbol "\(#'[^']*'\)" - -" the variables in a statement block for loops -syn match stBlockVariable "\(:[ \t]*\<[a-z_][a-z0-9_]*\>[ \t]*\)\+|" contained - -" some representations of numbers -syn match stNumber "\<\d\+\(u\=l\=\|lu\|f\)\>" -syn match stFloat "\<\d\+\.\d*\(e[-+]\=\d\+\)\=[fl]\=\>" -syn match stFloat "\<\d\+e[-+]\=\d\+[fl]\=\>" - -syn case match - -" a try to higlight paren mismatches -syn region stParen transparent start='(' end=')' contains=ALLBUT,stParenError -syn match stParenError ")" -syn region stBlock transparent start='\[' end='\]' contains=ALLBUT,stBlockError -syn match stBlockError "\]" -syn region stSet transparent start='{' end='}' contains=ALLBUT,stSetError -syn match stSetError "}" - -hi link stParenError stError -hi link stSetError stError -hi link stBlockError stError - -" synchronization for syntax analysis -syn sync minlines=50 - -" Define the default highlighting. -" Only when an item doesn't have highlighting yet - -hi def link stKeyword Statement -hi def link stMethod Statement -hi def link stComment Comment -hi def link stCharacter Constant -hi def link stString Constant -hi def link stSymbol Special -hi def link stNumber Type -hi def link stFloat Type -hi def link stError Error -hi def link stLocalVariables Identifier -hi def link stBlockVariable Identifier - - -let b:current_syntax = "st" - -let &cpo = s:cpo_save -unlet s:cpo_save - -endif -- cgit v1.2.3