Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions syntax/ferm.vim
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ syntax keyword fermModuleType
\ address-mask-reply

" TODO: check ferm "$variable" & "&function" character matches
syntax match fermVariable "$[_A-Za-z0-9]+"
syntax keyword fermVarDefine @def
syntax match fermVariable "$[_A-Za-z0-9]\+"
syntax keyword fermVarDefine def

syntax keyword fermFunction @if @else @include @hook
\ @eq @ne @not @resolve @cat @substr @length
\ @basename @dirname @ipfilter

syntax keyword fermUserFunction "&[_A-Za-z0-9]+"
syntax match fermUserFunction "&[_A-Za-z0-9]\+"

syntax region fermString start=+"+ skip=+\\"+ end=+"+
syntax region fermString start=+'+ skip=+\\'+ end=+'+
Expand Down