diff options
author | Hoang Xuan Phu <phuhimself@phunehehe.net> | 2015-03-20 16:48:12 +0800 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-05-19 11:01:41 +0200 |
commit | 46a56ea6224dbd2979a544346db8cbfcf16d7ef1 (patch) | |
tree | cd1439b3c1b1f30a5d73935a17fcaa2ed396f2c2 /misc | |
parent | 9c6328a7bfae5aa378ffc79ee271df633372c22b (diff) |
point to https://nixos.org/wiki/Vim_configuration instead
Diffstat (limited to 'misc')
-rw-r--r-- | misc/vim/README.md | 1 | ||||
-rw-r--r-- | misc/vim/syntax/nix.vim | 37 |
2 files changed, 1 insertions, 37 deletions
diff --git a/misc/vim/README.md b/misc/vim/README.md new file mode 100644 index 000000000..77f0330ed --- /dev/null +++ b/misc/vim/README.md @@ -0,0 +1 @@ +See https://nixos.org/wiki/Vim_configuration diff --git a/misc/vim/syntax/nix.vim b/misc/vim/syntax/nix.vim deleted file mode 100644 index ddddea5f0..000000000 --- a/misc/vim/syntax/nix.vim +++ /dev/null @@ -1,37 +0,0 @@ -" Vim syntax file -" Language: nix -" Maintainer: Marc Weber <marco-oweber@gmx.de> -" Modify and commit if you feel that way -" Last Change: 2007 Dec - -" Quit when a (custom) syntax file was already loaded -if exists("b:current_syntax") - finish -endif - -syn keyword nixKeyword let throw inherit import true false null with -syn keyword nixConditional if else then -syn keyword nixBrace ( ) { } = -syn keyword nixBuiltin __currentSystem __currentTime __isFunction __getEnv __trace __toPath __pathExists - \ __readFile __toXML __toFile __filterSource __attrNames __getAttr __hasAttr __isAttrs __listToAttrs __isList - \ __head __tail __add __sub __lessThan __substring __stringLength - -syn match nixAttr "\w\+\ze\s*=" -syn match nixFuncArg "\zs\w\+\ze\s*:" -syn region nixStringParam start=+\${+ end=+}+ -syn region nixMultiLineComment start=+/\*+ skip=+\\"+ end=+\*/+ -syn match nixEndOfLineComment "#.*$" -syn region nixStringIndented start=+''+ skip=+'''\|''${\|"+ end=+''+ contains=nixStringParam -syn region nixString start=+"+ skip=+\\"+ end=+"+ contains=nixStringParam - -hi def link nixKeyword Keyword -hi def link nixConditional Conditional -hi def link nixBrace Special -hi def link nixString String -hi def link nixStringIndented String -hi def link nixBuiltin Special -hi def link nixStringParam Macro -hi def link nixMultiLineComment Comment -hi def link nixEndOfLineComment Comment -hi def link nixAttr Identifier -hi def link nixFuncArg Identifier |