diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-31 09:23:59 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-31 09:23:59 +1300 |
commit | 974cd4c363f5a1c5116800f31e11f0e57ca6855b (patch) | |
tree | a012424dace0b8c28a500f2e053d63ddd854b989 /vim/indent/vim.vim | |
parent | Use clunkier, more compatible indent option reset (diff) | |
download | dotfiles-974cd4c363f5a1c5116800f31e11f0e57ca6855b.tar.gz dotfiles-974cd4c363f5a1c5116800f31e11f0e57ca6855b.zip |
Reload indent global defaults before each filetype
Just to be comprehensive, reinstate the global defaults for all the
indenting options via the indent/_GLOBAL.vim stub each time the filetype
is changed.
Diffstat (limited to 'vim/indent/vim.vim')
-rw-r--r-- | vim/indent/vim.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/indent/vim.vim b/vim/indent/vim.vim index b958fe54..3b038349 100644 --- a/vim/indent/vim.vim +++ b/vim/indent/vim.vim @@ -1,3 +1,6 @@ +" Restore local indent settings to the global values +runtime indent/_GLOBAL.vim + " Observe VimL conventions for two-space indents setlocal shiftwidth=2 setlocal softtabstop=2 |