summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-10-30 02:45:42 -0400
committerJesse Luehrs <doy@tozt.net>2017-10-30 04:39:37 -0400
commitb6f8209a55cec66cfd206cd3bc278f5c97edbb9e (patch)
tree6238a0bcce10b3eba38417f1b695230184152936 /vim
parentf8089c69c6e9ec44c0b36d7b3ed85afe96f02053 (diff)
downloadconf-b6f8209a55cec66cfd206cd3bc278f5c97edbb9e.tar.gz
conf-b6f8209a55cec66cfd206cd3bc278f5c97edbb9e.zip
disable syntax-based indent for perl
rainbow parens breaks it
Diffstat (limited to 'vim')
-rw-r--r--vim/ftplugin/perl.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index f6383fa..a7705a7 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -1,4 +1,6 @@
let b:ale_linters = { 'perl': ['perlcritic'] }
+" rainbow parens break syntax-based indent
+autocmd vimrc BufEnter <buffer> let b:indent_use_syntax = 0
" look up words in perldoc rather than man for K
function! s:perldoc(word)