summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorAndrey Listopadov <andreyorst@gmail.com>2021-07-17 17:49:16 +0300
committerAndrey Listopadov <andreyorst@gmail.com>2021-07-17 18:08:02 +0300
commitcc82dd57c87e19439f851c2bfd66834f70276bb8 (patch)
tree6aafcb943cd9ef3e3b47061f4d917f4d7ec0ab5a /.dir-locals.el
parente8351c4a47ea0472151b3f5a5ac06a70f86f0d02 (diff)
fix: style changes, and documentation fixes
- provide defn as an alias to fn* and change fn* to defn in all files - fix doc for eq function - fix and generate doc for loop macro
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index cf35d5e..af4b307 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -19,6 +19,7 @@
"meta"
"meta"
"def"
+ "defn"
"defmulti"
"defmethod"
"defonce"
@@ -43,6 +44,8 @@
(eval . (put 'loop 'fennel-indent-function 1))
(eval . (put 'fn* 'fennel-indent-function 'defun))
(eval . (put 'fn* 'fennel-doc-string-elt 2))
+ (eval . (put 'defn 'fennel-indent-function 'defun))
+ (eval . (put 'defn 'fennel-doc-string-elt 2))
(eval . (put 'defmulti 'fennel-doc-string-elt 2))
(eval . (put 'try 'fennel-indent-function 0))
(eval . (put 'catch 'fennel-indent-function 1))