diff options
author | humphreylin <[email protected]> | 2019-10-17 19:53:33 +0800 |
---|---|---|
committer | humphreylin <[email protected]> | 2019-10-17 19:53:33 +0800 |
commit | 0a14fb1a920e851ffb542d201212c18834db63e1 (patch) | |
tree | 5e6ecf7d3e0300f138f1a8839b9fd990a90506c9 | |
parent | 7cb9e541292ca4e177582afbcbb9afe149a6070c (diff) | |
download | dotfiles-0a14fb1a920e851ffb542d201212c18834db63e1.tar.gz dotfiles-0a14fb1a920e851ffb542d201212c18834db63e1.tar.bz2 dotfiles-0a14fb1a920e851ffb542d201212c18834db63e1.zip |
.vimrc: use different indents according to file types
-rw-r--r-- | .vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |