neovim: Fix nix phase snippets
This commit is contained in:
parent
821367af3f
commit
ac92017f96
|
@ -18,9 +18,11 @@ let
|
|||
+ (builtins.substring 1 (builtins.stringLength name - 1) name);
|
||||
in
|
||||
mkSnippet "${name}Phase" "${name}Phase skeleton" ''
|
||||
${name}Phase = '''
|
||||
runHook pre${upperName}
|
||||
$1
|
||||
runHook post${upperName}'')
|
||||
runHook post${upperName}
|
||||
''';'')
|
||||
(builtins.listToAttrs
|
||||
(map
|
||||
(name: lib.nameValuePair name { })
|
||||
|
|
Loading…
Reference in a new issue