aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/perl.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:03:46 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:03:46 +1300
commit9858af6f41ff7d9f295384c45ef21d2f3892fbd3 (patch)
tree7ef47f447c49526d1a0885885b9d740250df2907 /vim/ftplugin/perl.vim
parentAdd some more file-specific indent preferences (diff)
downloaddotfiles-9858af6f41ff7d9f295384c45ef21d2f3892fbd3.tar.gz
dotfiles-9858af6f41ff7d9f295384c45ef21d2f3892fbd3.zip
Move filetype-specific indent options into indent/
I'm still getting used to the structure of the configuration here, and had mistakenly put these indent-related settings into files in the ftplugin directory.
Diffstat (limited to 'vim/ftplugin/perl.vim')
-rw-r--r--vim/ftplugin/perl.vim7
1 files changed, 0 insertions, 7 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index 08d41008..dad2ce35 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -1,10 +1,3 @@
-" 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
-
" Run perl -c on file for the current buffer
nnoremap <leader>pc :exe "!perl -c " . shellescape(expand("%"))<CR>
" Run perlcritic on the file for the current buffer