Browse Source

Added gamelib.el for Emacs custom form support

windows-imgui
Macoy Madson 6 months ago
parent
commit
9ea086002c
  1. 13
      tools/gamelib.el

13
tools/gamelib.el

@ -0,0 +1,13 @@
;; gamelib.el: Add gamelib-custom forms to cakelisp-mode
(defun gamelib-cakelisp-mode ()
(put 'each-in-strdict 'lisp-indent-function 2)
(put 'each-item-in-dict-true 'lisp-indent-function 4)
(put 'each-item-in-dynarray 'lisp-indent-function 4)
(put 'each-item-addr-in-dynarray 'lisp-indent-function 4)
(put 'imgui-call 'lisp-indent-function 1)
(put 'scope-timed 'lisp-indent-function 1))
(add-hook 'cakelisp-mode-hook 'gamelib-cakelisp-mode)
Loading…
Cancel
Save