diff options
author | Karel Kočí <cynerd@email.cz> | 2024-02-25 22:49:55 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-02-25 23:30:57 +0100 |
commit | 1970054228b3a9a3a8fc99af723ee13c147e7747 (patch) | |
tree | 2f151b709a06980ecb3c3b96930a6d518a1e15ed /vim/syntax/conffile.vim | |
parent | fe804beeb41d149cc3e3c714061484e651ba48db (diff) | |
download | myconfigs-1970054228b3a9a3a8fc99af723ee13c147e7747.tar.gz myconfigs-1970054228b3a9a3a8fc99af723ee13c147e7747.tar.bz2 myconfigs-1970054228b3a9a3a8fc99af723ee13c147e7747.zip |
Migrate from vim to nvim
Diffstat (limited to 'vim/syntax/conffile.vim')
-rw-r--r-- | vim/syntax/conffile.vim | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/vim/syntax/conffile.vim b/vim/syntax/conffile.vim deleted file mode 100644 index 342d8b4..0000000 --- a/vim/syntax/conffile.vim +++ /dev/null @@ -1,37 +0,0 @@ -" Vim syntax file -" Language: C -" Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2013 Jul 05 - -" Quit when a (custom) syntax file was already loaded -if exists("b:current_syntax") - finish -endif - -left s:ft = matchstr(&ft, '^\([^.]\)\+') - -syn match sComment "#.*$" -syn keyword sKeywords typedef menu group endmenu endgroup type menu default menu visible nodefault -syn keyword sKWCondition dependency default -syn keyword sTypes int bool string hex float -syn region sString start=+\"+ skip=+\\.+ end=+\"+ - -syn keyword sKeywords output nextgroup=sOutput -syn region sOutput start="\w\+ \+{" end="}" contains=covariable,cocommand,coifcommand,CoNone -syn match sOutput "\w\+ \+\w\+" -syn match covariable "\$\w\+" contained -syn match cocommand "\$\(endif\|else\)" contained -syn region CoNone matchgroup=coifcommand start=+\$\(if\|elif\|ifdep\)(+ end=+)+ contains=covariable,sKWCondition contained - - -hi def link sComment Comment -hi def link sKeywords Precondit -hi def link sKWCondition sKeywords -hi def link sTypes Statement -hi def link sString String - -hi def link cocommand Macro -hi def link coifcommand Macro -hi def link covariable Identifier - -let b:current_syntax = "conffile" |