aboutsummaryrefslogtreecommitdiff
path: root/vim/indent
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:13:46 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:13:46 +1300
commite645bec150b11bea909b897fb6a4ab614a0f9a69 (patch)
tree0fe8e0a9d983b427dcec3d9b85bc978115676dcc /vim/indent
parentUse a common file to restore global indent opts (diff)
downloaddotfiles-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.vim2
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<