diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-21 15:36:44 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-21 15:36:44 +1200 |
commit | c3c2a25f6bdcf6d2cdecb096485afd2056da5118 (patch) | |
tree | 7f22eb2ae7b71dca203f4098749e9aaf52fb8a13 /vim/after/indent/vim.vim | |
parent | Merge branch 'release/v1.56.0' into develop (diff) | |
download | dotfiles-c3c2a25f6bdcf6d2cdecb096485afd2056da5118.tar.gz dotfiles-c3c2a25f6bdcf6d2cdecb096485afd2056da5118.zip |
Remove unwanted 'indentkeys' for Vim filetype
Diffstat (limited to 'vim/after/indent/vim.vim')
-rw-r--r-- | vim/after/indent/vim.vim | 7 |
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<' |