GameLib is my library for making games
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
507 B

;; 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-in-dynarray 'lisp-indent-function 2)
(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)