mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2026-02-04 14:12:02 +00:00
Add custom handler to nodejs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user