mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2025-10-21 19:50:34 +00:00
Add custom handler to nodejs
This commit is contained in:
parent
f1b104814f
commit
6248f8b855
@ -15,6 +15,7 @@ return function(buffer)
|
||||
|
||||
local handlers = {
|
||||
['Run current file'] = helpers.shell_handler('node ' .. vim.fn.expand('%')),
|
||||
['Custom'] = helpers.shell_handler('npm ', true),
|
||||
}
|
||||
|
||||
for _, bin in pairs(bins) do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user