diff options
author | lassulus <lassulus@lassul.us> | 2017-11-15 19:03:13 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-11-15 19:03:13 +0100 |
commit | 963d14d8d9e9dadbc6afb70208a0f938ba501987 (patch) | |
tree | 73d8df8e1d58c2908ae450b5c5c207b02acfb4c0 /tv/2configs/vim.nix | |
parent | 635543efe237e79202cc95db6f303699cadd0c85 (diff) | |
parent | 2f183f41ca257fbe9b48b58314849175ceb2dc6b (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs/vim.nix')
-rw-r--r-- | tv/2configs/vim.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index ca4718646..8a27b606a 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -173,9 +173,13 @@ let { syn cluster nix_ind_strings contains=NixIND_STRING syn cluster nix_strings contains=NixSTRING - ${concatStringsSep "\n" (mapAttrsToList (lang: { extraStart ? null }: let + ${concatStringsSep "\n" (mapAttrsToList (name: { + extraStart ? null, + lang ? name + }: + let startAlts = filter isString [ - ''/\* ${lang} \*/'' + ''/\* ${name} \*/'' extraStart ]; sigil = ''\(${concatStringsSep ''\|'' startAlts}\)[ \t\r\n]*''; |