aboutsummaryrefslogtreecommitdiff
path: root/vim/config/file.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-29 00:50:04 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-29 00:50:04 +1300
commit6a95db6af6a4af28c2189227938d42eeb75da9d0 (patch)
treeaa1666a1bc2cbcd67e7a41fa1fc6b816743a910d /vim/config/file.vim
parentLoad Vim Pathogen with :runtime (diff)
downloaddotfiles-6a95db6af6a4af28c2189227938d42eeb75da9d0.tar.gz
dotfiles-6a95db6af6a4af28c2189227938d42eeb75da9d0.zip
Merge `filetype indent` with `filetype plugin`
While it would be ideal to keep the indentation-related configuration in the config/indent.vim file, that approach ends up double-loading filetype.vim from the core, so we'll merge them into a single call in config/file.vim instead.
Diffstat (limited to 'vim/config/file.vim')
-rw-r--r--vim/config/file.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/config/file.vim b/vim/config/file.vim
index 0e2f2e96..07c20cd5 100644
--- a/vim/config/file.vim
+++ b/vim/config/file.vim
@@ -1,6 +1,6 @@
" Load plugins for file types
if has('autocmd')
- filetype plugin on
+ filetype plugin indent on
endif
" Use all ancestors of current directory for :find