mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2026-02-04 14:12:02 +00:00
Add run current file handler for node
This commit is contained in:
@@ -13,7 +13,9 @@ return function(buffer)
|
||||
end
|
||||
end
|
||||
|
||||
local handlers = {}
|
||||
local handlers = {
|
||||
['Run current file'] = helpers.shell_handler('node ' .. vim.fn.expand('%'))
|
||||
}
|
||||
|
||||
for _, bin in pairs(bins) do
|
||||
handlers['Run "' .. bin .. '"'] = helpers.shell_handler('npm run ' .. bin)
|
||||
|
||||
Reference in New Issue
Block a user