summaryrefslogtreecommitdiffstats
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
commita0b0c5867e27126045058f4f806426d871514b81 (patch)
tree80e2206648b95d4b47ad823c563a9e04ab20e87f
parent5e2c414d8a1edeefea60ff9fd79b47ee768f4cb6 (diff)
tv nix.vim: let b:current_syntax
-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 83cc6e1..23f90af 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