Skip to content

Commit ea65778

Browse files
authored
Update run.lua
1 parent c364d49 commit ea65778

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lua/run.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ end
6060

6161
function M.setup(opts)
6262
if opts then config = vim.tbl_deep_extend("force", config, opts) end
63+
64+
vim.api.nvim_create_user_command('RunCode', function(opts)
65+
M.run()
66+
end, { nargs = 0 })
67+
6368
end
6469

6570
return M

0 commit comments

Comments
 (0)