about summary refs log tree commit diff
path: root/modules/user/aszlig/programs
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-07-10 12:48:29 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-07-10 12:52:50 +0200
commit69122f4a8883f2d3d80a76a8e53fb69a6f7378a5 (patch)
treec4ff0803405359107672f57c23ac9a6df60d2061 /modules/user/aszlig/programs
parent5560ace9d8c69dfc6b9a6e7f776cc4bb4715b47e (diff)
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/user/aszlig/programs')
-rw-r--r--modules/user/aszlig/programs/vim/default.nix4
1 files changed, 2 insertions, 2 deletions
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