Files
neovim-configuration/syntax/confile.vim

19 lines
618 B
VimL

" Vim Syntax file for CON files
syn match SetLength /^\d\{3\}/ nextgroup=SetKeyword,SetKeywordMarked
syn match SetKeyword /\d\{4\}/ contained
syn match SetKeywordMarked /310[123]\|5000/ contained nextgroup=SetKeywordMarkedInfo
syn match SetKeywordMarkedInfo /..*/ contained
hi SetLength guifg=grey
hi SetKeyword guifg=lightgreen
hi SetKeywordMarked gui=inverse guifg=lightgreen
hi SetKeywordMarkedInfo gui=inverse
syn match SetStart /^0138000/ nextgroup=SetType
syn match SetType /con0\|con9\|besa\|adt0\|adt9\|010[1-4]\|rvsa/ contained " 0101
hi SetStart guifg=white guibg=green
hi SetType guifg=white guibg=red