From 69122f4a8883f2d3d80a76a8e53fb69a6f7378a5 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 10 Jul 2016 12:48:29 +0200 Subject: programs/vim: Change indentation to 2 spaces HTML already is such a verbose markup language, so having 4 spaces just makes it look even more shifted to the right than it's mostly is. And in the past I've already set ts=2 sw=2 in HTML files every time I edited them anyway. Signed-off-by: aszlig --- modules/user/aszlig/programs/vim/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/user') diff --git a/modules/user/aszlig/programs/vim/default.nix b/modules/user/aszlig/programs/vim/default.nix index 9ad756ca..a633182a 100644 --- a/modules/user/aszlig/programs/vim/default.nix +++ b/modules/user/aszlig/programs/vim/default.nix @@ -320,8 +320,8 @@ let " filetype defaults filetype plugin indent on - au BufNewFile,BufRead *.as set filetype=actionscript - au BufNewFile,BufRead *.html set tabstop=4|set shiftwidth=4|set expandtab + au BufNewFile,BufRead *.as set ft=actionscript + au BufNewFile,BufRead *.html set ts=2 sw=2 sts=2 et au FileType python set textwidth=79 au FileType gitcommit set textwidth=72 au FileType docbk set tabstop=2 shiftwidth=2 expandtab -- cgit 1.4.1