summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNao Ueda <nao.uedder@gmail.com>2020-04-04 21:04:48 +0900
committerNao Ueda <nao.uedder@gmail.com>2020-04-04 21:04:48 +0900
commitb07497f848f80aebd4a8400bb8d22751022678d3 (patch)
tree50d6f935cb0ff20f7194a73365a95cf3a0170a28
parentf1647125f1880e5f86296908818f0ae5b19c7c39 (diff)
downloadvimrc-b07497f848f80aebd4a8400bb8d22751022678d3.tar.gz
vimrc-b07497f848f80aebd4a8400bb8d22751022678d3.tar.bz2
vimrc-b07497f848f80aebd4a8400bb8d22751022678d3.zip
Add a config for detectindent.
-rw-r--r--_config/109-detectindent.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/_config/109-detectindent.vim b/_config/109-detectindent.vim
new file mode 100644
index 0000000..0feaccf
--- /dev/null
+++ b/_config/109-detectindent.vim
@@ -0,0 +1,5 @@
+if empty(globpath(&rtp, 'detectindent.vim'))
+ finish
+endif
+
+let b:detectindent_preferred_indent = 4