Sanchayan Maity
108630d19c
Now that neovim runtime can also source lua files from traditional vim runtime directories like after/plugin/ftplugin etc, move all plugin configuration files to after/plugin.
8 lines
396 B
Lua
8 lines
396 B
Lua
local remap = vim.api.nvim_set_keymap
|
|
|
|
remap('n', '<LocalLeader>b', ':Make<CR>', { noremap = true })
|
|
remap('n', '<LocalLeader>B', ':LMake<CR>', { noremap = true })
|
|
|
|
vim.api.nvim_command('command! -bang -nargs=* -complete=file Make call asyncdo#run(<bang>0, &makeprg, <f-args>)')
|
|
vim.api.nvim_command('command! -bang -nargs=* -complete=file LMake call asyncdo#lrun(<bang>0, &makeprg, <f-args>)')
|