summaryrefslogtreecommitdiff
path: root/_config
diff options
context:
space:
mode:
authorNao Ueda <nao.uedder@gmail.com>2020-12-10 12:33:44 +0900
committerNao Ueda <nao.uedder@gmail.com>2020-12-10 12:33:44 +0900
commite31f3e5cd199dbd29a0cd117762af72d4341eba8 (patch)
tree62d0e81b651896a72d281e44afa166f96776dd54 /_config
parent04d23058be40bc6fa60adc399501af44ff0e75ed (diff)
downloadvimrc-e31f3e5cd199dbd29a0cd117762af72d4341eba8.tar.gz
vimrc-e31f3e5cd199dbd29a0cd117762af72d4341eba8.tar.bz2
vimrc-e31f3e5cd199dbd29a0cd117762af72d4341eba8.zip
Auto run DetectIndent.
Diffstat (limited to '_config')
-rw-r--r--_config/109-detectindent.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/_config/109-detectindent.vim b/_config/109-detectindent.vim
index 950b938..a118038 100644
--- a/_config/109-detectindent.vim
+++ b/_config/109-detectindent.vim
@@ -1,3 +1,5 @@
UsePlugin 'detectindent'
+autocmd BufRead * DetectIndent
+
let b:detectindent_preferred_indent = 4