Skip to content

Commit 4000183

Browse files
committed
feat: add LoveStop user commnad
1 parent 2394c0a commit 4000183

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugin/love2d.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ vim.api.nvim_create_user_command("LoveRun", function(args)
1515
require("love2d").run(path)
1616
end
1717
end, { nargs = "?", complete = "dir" })
18+
19+
vim.api.nvim_create_user_command("LoveStop", function(args)
20+
require("love2d").stop()
21+
end, {})

0 commit comments

Comments
 (0)