diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 15:13:46 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 15:13:46 +1300 |
commit | e645bec150b11bea909b897fb6a4ab614a0f9a69 (patch) | |
tree | 0fe8e0a9d983b427dcec3d9b85bc978115676dcc /vim/indent | |
parent | Use a common file to restore global indent opts (diff) | |
download | dotfiles-e645bec150b11bea909b897fb6a4ab614a0f9a69.tar.gz dotfiles-e645bec150b11bea909b897fb6a4ab614a0f9a69.zip |
Add autoindent and expandtab to indent _GLOBAL
This will mean the correct value is restored for filetypes that source
this file as part of their indent processing, and won't stay broken if
we switched from e.g. CSV or TSV.
Diffstat (limited to 'vim/indent')
-rw-r--r-- | vim/indent/_GLOBAL.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/indent/_GLOBAL.vim b/vim/indent/_GLOBAL.vim index 6ea25dbd..aeae075c 100644 --- a/vim/indent/_GLOBAL.vim +++ b/vim/indent/_GLOBAL.vim @@ -1,6 +1,8 @@ " Source this file (probably with :runtime) to explicitly set local indent " settings for a buffer back to the global settings, in case it was changed " by a prior filetype (e.g. VimL). +setlocal autoindent< +setlocal expandtab< setlocal shiftwidth< setlocal softtabstop< setlocal tabstop< |