about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/user/aszlig/programs/vim/default.nix1
1 files changed, 1 insertions, 0 deletions
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