summaryrefslogtreecommitdiffstats
path: root/tv/2configs/vim.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-02 20:02:01 +0100
committertv <tv@krebsco.de>2016-02-02 20:02:01 +0100
commitef0ce9065f312140cbcb51fc5102c4c5d4e80568 (patch)
treefadb05c78bf350030b3d9eb13c034f757264097c /tv/2configs/vim.nix
parentd341d1ad1006d49299007c2210dfd8f9903ae21a (diff)
tv nix.vim: let b:current_syntax
Diffstat (limited to 'tv/2configs/vim.nix')
-rw-r--r--tv/2configs/vim.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index 83cc6e117..23f90af05 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -105,6 +105,8 @@ let
syn match String /"\([^\\"]\|\\.\)*"/
syn match Comment /\(^\|\s\)#.*/
+
+ let b:current_syntax = "nix"
''}
au BufRead,BufNewFile /dev/shm/* set nobackup nowritebackup noswapfile