aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorhumphreylin <[email protected]>2019-10-17 19:53:33 +0800
committerhumphreylin <[email protected]>2019-10-17 19:53:33 +0800
commit0a14fb1a920e851ffb542d201212c18834db63e1 (patch)
tree5e6ecf7d3e0300f138f1a8839b9fd990a90506c9 /.vimrc
parent7cb9e541292ca4e177582afbcbb9afe149a6070c (diff)
downloaddotfiles-0a14fb1a920e851ffb542d201212c18834db63e1.tar.gz
dotfiles-0a14fb1a920e851ffb542d201212c18834db63e1.tar.bz2
dotfiles-0a14fb1a920e851ffb542d201212c18834db63e1.zip
.vimrc: use different indents according to file types
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 0e88503..3639cb4 100644
--- a/.vimrc
+++ b/.vimrc
@@ -12,6 +12,8 @@ set shiftwidth=4
set expandtab
set softtabstop=4
+autocmd FileType html setlocal shiftwidth=2 softtabstop=2 expandtab
+
set wrap
"set nowrap
"set wrapmargin=4