aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-21 15:36:44 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-21 15:36:44 +1200
commitc3c2a25f6bdcf6d2cdecb096485afd2056da5118 (patch)
tree7f22eb2ae7b71dca203f4098749e9aaf52fb8a13
parentMerge branch 'release/v1.56.0' into develop (diff)
downloaddotfiles-c3c2a25f6bdcf6d2cdecb096485afd2056da5118.tar.gz
dotfiles-c3c2a25f6bdcf6d2cdecb096485afd2056da5118.zip
Remove unwanted 'indentkeys' for Vim filetype
-rw-r--r--vim/after/indent/vim.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/after/indent/vim.vim b/vim/after/indent/vim.vim
index ed1b8ebb..7e36c4cc 100644
--- a/vim/after/indent/vim.vim
+++ b/vim/after/indent/vim.vim
@@ -6,6 +6,13 @@ else
setlocal softtabstop=2
endif
+" Remove inapplicable defaults from 'indentkeys'
+setlocal indentkeys-=0#
+setlocal indentkeys-=0{
+setlocal indentkeys-=0}
+setlocal indentkeys-=0)
+setlocal indentkeys-=:
+
" Commands to undo the above
if exists('b:undo_indent')
let b:undo_indent = b:undo_indent . '|setlocal shiftwidth<'