92dbd92d203ec23eec8f93f7164684a4727d8431 — Tim Morgan 6 years ago cbd9980
Fix matching of identifiers, remove other unneeded stuff.
1 files changed, 3 insertions(+), 6 deletions(-)

M syntax/lidija.vim
M syntax/lidija.vim => syntax/lidija.vim +3 -6
@@ 8,19 8,16 @@
 
 setlocal autoindent
 
-syntax region lidFunc matchgroup=lidFuncDelimiter start=/{/ms=e end=/}/
-syntax match lidAssign /[a-z0-9]\+\s\+=\s\+/ contains=lidIdentifier
 syntax match lidFuncDelimiter /{\|}/
 syntax match lidComment /#.*/ contains=@Spell,lidTodo
-syntax match lidIdentifier contained /[a-z0-9]\+/
+syntax match lidIdentifier /[a-z0-9\-]\+/
 syntax keyword lidTodo TODO FIXME XXX contained
-syntax keyword lidKeyword out
-syntax match lidOp /[\-~:!?@$%^&*_+|\/.<>]/
+syntax keyword lidKeyword out if
+syntax match lidOp /[\-~:!?@$%^&*_+|\/.<>=]\+/
 syntax match lidNum /[0-9]\+/
 syntax region lidString start=/"/ skip=/\\\\\|\\"/ end=/"/
 syntax region lidString start=/'/ skip=/\\\\\|\\'/ end=/'/
 
-highlight link lidFunc Function
 highlight link lidFuncDelimiter Delimiter
 highlight link lidComment Comment
 highlight link lidAssign Identifier