diff options
author | tv <tv@krebsco.de> | 2017-11-15 16:41:29 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-11-15 16:41:29 +0100 |
commit | a9346c9d34e9535859e184766a641720882f1931 (patch) | |
tree | 3e2a7591c542ec903d760f6c8ec32de8a286bef7 | |
parent | 5341ae36b74661018e91c5a28843952695748e21 (diff) |
withGetopt: replace \\>
-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 ca47186..8a27b60 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]*''; |