diff options
-rw-r--r-- | .dir-locals.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..d129e76 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,18 @@ +;;; Directory Local Variables +;;; For more information see (info "(emacs) Directory Variables") + +((nil + (indent-tabs-mode)) + (makefile-gmake-mode + (indent-tabs-mode t)) + (scheme-mode + (eval . (put 'call-with-current-directory 'scheme-indent-function 1)) + (eval . (put 'call-with-file-in-git 'scheme-indent-function 2)) + (eval . (put 'function-documentation 'scheme-indent-function 2)) + (eval . (put 'docstring-function-documentation 'scheme-indent-function 2)) + (eval . (put 'with-ellipsis 'scheme-indent-function 1)) + (eval . (font-lock-add-keywords 'scheme-mode + (list (cons (rx "(" (group "define-lazy")) + (list 1 'font-lock-keyword-face)) + (cons (rx "(define-lazy (" (group (one-or-more (not space)))) + (list 1 'font-lock-function-name-face))))))) |