vim update
This commit is contained in:
1 parent
0750df7d61
commit
df74227349
13 files changed
+154
-1
No files matched your search
@@ -0,0 +1,36 @@
|
||||
if exists("g:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syn region spfComment start='#' end='\n'
|
||||
|
||||
syn keyword spfType booléen entier texte liste
|
||||
|
||||
syn match spfNumber /\d\+/
|
||||
syn region spfString start='"' end='"'
|
||||
syn keyword spfString vrai faux
|
||||
|
||||
syn keyword spfIf si alors sinon
|
||||
syn keyword spfWhile "tant que" faire
|
||||
syn keyword spfFor "pour chaque" dans faire
|
||||
|
||||
syn keyword spfOp + - * / < <= > >=
|
||||
|
||||
syn keyword spfKw afficher ajouter
|
||||
|
||||
let g:current_syntax="spf"
|
||||
|
||||
hi def link spfComment Comment
|
||||
|
||||
hi def link spfType Type
|
||||
|
||||
hi def link spfNumber Number
|
||||
hi def link spfString String
|
||||
hi def link spfBool Boolean
|
||||
|
||||
hi def link spfIf Repeat
|
||||
hi def link spfIf Repeat
|
||||
|
||||
hi def link spfOp Operator
|
||||
|
||||
hi def link spfKw Keyword
|
||||
Reference in new issue
Block a user