aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-08 16:29:10 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-08 16:29:10 +1300
commit0a31bc50ba21c02d8d696828661361130ec90563 (patch)
tree847a11c6a546ec8f145733bf4ad7de9fafbb7bd5
parente6efc343fbc31625dcec1163a8d8aab680f20354 (diff)
downloaddotfiles-0a31bc50ba21c02d8d696828661361130ec90563.tar.gz
Correct prefix for b:undo_* variable
This was causing nasty errors whenever I started editing a Perl file.
-rw-r--r--vim/ftplugin/perl.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index c18653d2..5549e33d 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -14,7 +14,7 @@ nnoremap <buffer> <silent>
\ :<C-U>%!perltidy<CR>
" Unload this filetype plugin
-let l:undo_user_ftplugin
+let b:undo_user_ftplugin
\ = 'silent! nunmap <LocalLeader>c'
\ . '|silent! nunmap <LocalLeader>l'
\ . '|silent! nunmap <LocalLeader>t'