aboutsummaryrefslogtreecommitdiff
path: root/vim/indent/perl.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:11:08 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:11:08 +1300
commit29e34f2d4db59a481faa32e51078c3b75bc091b6 (patch)
tree8cf3daa8efa1db424b260b308b92cbb7d789aa49 /vim/indent/perl.vim
parentMove filetype-specific indent options into indent/ (diff)
downloaddotfiles-29e34f2d4db59a481faa32e51078c3b75bc091b6.tar.gz
dotfiles-29e34f2d4db59a481faa32e51078c3b75bc091b6.zip
Use a common file to restore global indent opts
Remove the duplicated code instated to use the global defaults for indent-related options and put it into a common file to source with :runtime.
Diffstat (limited to 'vim/indent/perl.vim')
-rw-r--r--vim/indent/perl.vim8
1 files changed, 2 insertions, 6 deletions
diff --git a/vim/indent/perl.vim b/vim/indent/perl.vim
index 1be25bf5..fd1b26af 100644
--- a/vim/indent/perl.vim
+++ b/vim/indent/perl.vim
@@ -1,6 +1,2 @@
-" Explicitly set indent level; this matches the global default, but it's tidy
-" to enforce it in case we changed from a filetype with different value (e.g.
-" VimL)
-setlocal shiftwidth=4
-setlocal softtabstop=4
-setlocal tabstop=4
+" Restore local indent settings to the global values
+runtime indent/_GLOBAL.vim