aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/make.vim
blob: 3018e11bada34f6d515b5fb29a120e4206f1dd1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
" Extra configuration for Makefiles
if &filetype !=# 'make' || v:version < 700
  finish
endif

" Stop here if the user doesn't want ftplugin mappings
if exists('g:no_plugin_maps') || exists('g:no_make_maps')
  finish
endif

" Set mappings
nmap <buffer> <LocalLeader>m <Plug>(MakeTarget)
let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>m'