From 2850ee4c74295a9d4b2868e56f4645aac830e888 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 11 Dec 2015 02:17:49 +0100 Subject: programs/vim: Indent docbook files with 2 spaces. Having 4 spaces indentation for docbook files is going to get a bit too far to the right. Signed-off-by: aszlig --- modules/user/aszlig/programs/vim/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/user/aszlig/programs/vim/default.nix b/modules/user/aszlig/programs/vim/default.nix index c42c11f5..cb6149fe 100644 --- a/modules/user/aszlig/programs/vim/default.nix +++ b/modules/user/aszlig/programs/vim/default.nix @@ -324,6 +324,7 @@ let au BufNewFile,BufRead *.html set tabstop=4|set shiftwidth=4|set expandtab au FileType python set textwidth=79 au FileType gitcommit set textwidth=72 + au FileType docbk set tabstop=2 shiftwidth=2 expandtab " highlight unnecessary whitespace highlight ExtraWhitespace ctermbg=red guibg=red -- cgit 1.4.1