Created
May 7, 2015 14:54
-
-
Save volh/8826e0302bd52db8f792 to your computer and use it in GitHub Desktop.
emacs global dir-locals ( per-directory settings )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(dir-locals-set-class-variables 'smallindent-directory | |
'((nil . ((web-mode-markup-indent-offset . 2) | |
(web-mode-css-indent-offset . 2) | |
(web-mode-code-indent-offset . 2) | |
(js-indent-level . 2) | |
(whitespace-mode . -1) | |
(coffee-tab-width . 2) | |
(js2-basic-offset . 2) | |
)))) | |
(dir-locals-set-directory-class | |
"/path/to/project/dir" 'smallindent-directory) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment