aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-10 13:24:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-10 13:24:04 +1200
commitd9bf256af3513f8e43d36e0546e16c4cd109f6d0 (patch)
tree0761b9f86d504fc4927a9a67e0c80cec5f9bd440
parentc0b33da9bf4d47b01bf6a081f68dffc5497aa75f (diff)
downloaddotfiles-d9bf256af3513f8e43d36e0546e16c4cd109f6d0.tar.gz
Correct login around ftplugin/make.vim mappings
-rw-r--r--vim/after/ftplugin/make.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/vim/after/ftplugin/make.vim b/vim/after/ftplugin/make.vim
index f4b58f5b..38a2b620 100644
--- a/vim/after/ftplugin/make.vim
+++ b/vim/after/ftplugin/make.vim
@@ -9,7 +9,5 @@ if exists('g:no_plugin_maps') || exists('g:no_make_maps')
endif
" Set mappings
-if exists('b:undo_ftplugin')
- nmap <buffer> <LocalLeader>m <Plug>MakeTarget
- let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>m'
-endif
+nmap <buffer> <LocalLeader>m <Plug>MakeTarget
+let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>m'