tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
vim: ft-nix-support: update keywords, add builtins
Domen Kožar
12 years ago
28acbbef
66d930b3
+3
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
editors
vim
ft-nix-support.patch
+3
-1
pkgs/applications/editors/vim/ft-nix-support.patch
···
38
38
+ finish
39
39
+endif
40
40
+
41
41
-
+syn keyword nixKeyword let throw inherit import true false null with
41
41
+
+syn keyword nixKeyword let in rec assert inherit import true false null with ...
42
42
+
+syn keyword nixBuiltin import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation
42
43
+syn keyword nixConditional if else then
43
44
+syn keyword nixBrace ( ) { } =
44
45
+syn keyword nixBuiltin __currentSystem __currentTime __isFunction __getEnv __trace __toPath __pathExists
···
54
55
+syn region nixString start=+"+ skip=+\\"+ end=+"+ contains=nixStringParam
55
56
+
56
57
+hi def link nixKeyword Keyword
58
58
+
+hi def link nixBuiltin Function
57
59
+hi def link nixConditional Conditional
58
60
+hi def link nixBrace Special
59
61
+hi def link nixString String