diff options
author | tv <tv@krebsco.de> | 2015-11-09 23:18:15 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-11-09 23:39:21 +0100 |
commit | 1ca4ed76e03a3a475e8020ad5f49038d81c1d4ef (patch) | |
tree | a0a4809a0e4eb7b245f936439602b401f97bac3c /tv/2configs/vim.nix | |
parent | 5af50d4eda2ebd78d36968be3d835ffca0efd455 (diff) |
tv vim hs: hi quasi quotes
Diffstat (limited to 'tv/2configs/vim.nix')
-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 04b1480..0822fb5 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -64,6 +64,10 @@ let \ | hi TrailingSpace ctermbg=88 \ | hi Normal ctermfg=White + au BufRead,BufNewFile *.hs so ${pkgs.writeText "hs.vim" '' + syn region String start=+\[[^|]*|+ end=+|]+ + ''} + au BufRead,BufNewFile *.nix so ${pkgs.writeText "nix.vim" '' setf nix set isk=@,48-57,_,192-255,-,' |