Skip to content

Commit ab771b1

Browse files
authored
Merge pull request #42 from doronbehar/mapAttrs
Add mapAttrs as a builtin.
2 parents 261c2b1 + 9712788 commit ab771b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/nix.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ syn match nixInterpolationParam "[a-zA-Z_][a-zA-Z0-9_'-]*\%(\.[a-zA-Z_][a-zA-Z0-
131131
" Non-namespaced Nix builtins as of version 2.0:
132132
syn keyword nixSimpleBuiltin
133133
\ abort baseNameOf derivation derivationStrict dirOf fetchGit
134-
\ fetchMercurial fetchTarball import isNull map placeholder removeAttrs
134+
\ fetchMercurial fetchTarball import isNull map mapAttrs placeholder removeAttrs
135135
\ scopedImport throw toString
136136
137137

@@ -144,7 +144,7 @@ syn keyword nixNamespacedBuiltin contained
144144
\ findFile foldl' fromJSON functionArgs genList \ genericClosure getAttr
145145
\ getEnv hasAttr hasContext hashString head import intersectAttrs isAttrs
146146
\ isBool isFloat isFunction isInt isList isNull isString langVersion
147-
\ length lessThan listToAttrs map match mul nixPath nixVersion
147+
\ length lessThan listToAttrs map mapAttrs match mul nixPath nixVersion
148148
\ parseDrvName partition path pathExists placeholder readDir readFile
149149
\ removeAttrs replaceStrings scopedImport seq sort split splitVersion
150150
\ storeDir storePath stringLength sub substring tail throw toFile toJSON

0 commit comments

Comments
 (0)