Add set-project-type! autodef
And use it for love2d projects in lang/lua module.
This commit is contained in:
parent
ba7c713bf6
commit
22cc519ac1
3 changed files with 28 additions and 4 deletions
|
@ -30,6 +30,9 @@
|
|||
:modes (lua-mode markdown-mode json-mode)
|
||||
:files (and "main.lua" "conf.lua")
|
||||
:on-load
|
||||
(set-project-type! 'love2d
|
||||
:predicate #'+lua-love-project-root
|
||||
:run #'+lua/run-love-game)
|
||||
(map! :localleader
|
||||
:map +lua-love-mode-map
|
||||
"b" #'+lua/run-love-game))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue