diff options
author | tv <tv@krebsco.de> | 2016-05-25 00:39:17 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-05-25 00:46:59 +0200 |
commit | 367a434f046e800691216fb9bd49c00bfe3d7fad (patch) | |
tree | c1f9f294f6cc80bf8b19a056ad2c841c877da40b /tv/2configs | |
parent | 0462b01127a45ca44c9a8b1821c05ecd6fdaa2ee (diff) |
tv nix.vim: admit Haskell comments
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/vim.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index 6e20594..6eefca3 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -111,6 +111,10 @@ let syn match String /"\([^\\"]\|\\.\)*"/ syn match Comment /\(^\|\s\)#.*/ + " Haskell comments + syn region Comment start=/\(^\|\s\){-#/ end=/#-}/ + syn match Comment /\(^\|\s\)--.*/ + let b:current_syntax = "nix" ''} |