From 9f489503bd0d0f70ef215fd3ca28943a130e6b7b Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 10 Jul 2016 12:50:42 +0200 Subject: programs/vim: Associate *.tt with filetype tt2html While hacking on Hydra, this gets quite annoying, because all of these template toolkit files don't get properly highlighted whenever I edit them, so I always had to set the file type manually. Signed-off-by: aszlig --- modules/user/aszlig/programs/vim/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/user/aszlig/programs/vim/default.nix b/modules/user/aszlig/programs/vim/default.nix index a633182a..affbb54a 100644 --- a/modules/user/aszlig/programs/vim/default.nix +++ b/modules/user/aszlig/programs/vim/default.nix @@ -321,6 +321,7 @@ let " filetype defaults filetype plugin indent on au BufNewFile,BufRead *.as set ft=actionscript + au BufNewFile,BufRead *.tt set ft=tt2html ts=2 sw=2 sts=2 et au BufNewFile,BufRead *.html set ts=2 sw=2 sts=2 et au FileType python set textwidth=79 au FileType gitcommit set textwidth=72 -- cgit 1.4.1