vim update

This commit is contained in:
Anthony Debucquoy committed 2026-11-03 13:14:16 +01:00
1 parent 5f66163741
commit 4749a1d22e
13 files changed
+154 -1

No files matched your search

+36
View File
@@ -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