summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-11-09 23:18:15 +0100
committertv <tv@krebsco.de>2015-11-09 23:39:21 +0100
commit7cf1b1e4b7e5fe6980309b4037a75d154bb38598 (patch)
tree4db4da28a485bae687f6c3ae0e08dca431eec561 /tv/2configs
parent6e6f5e7379ff02de1be2a7d3546338e70180f789 (diff)
tv vim hs: hi quasi quotes
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/vim.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index 04b1480c1..0822fb5bf 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,-,'