diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-01-16 11:56:59 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-01-16 11:56:59 +0200 |
commit | 77ef94849ef708420090cc253962caf5f03aa0b2 (patch) | |
tree | 882107481442768b71b53b355759e2c4821dd4e4 /emacs.d | |
parent | 243ddcfcfc0e94f70dc3a0a5f99c3e57c70fd69a (diff) | |
download | liw-dot-files-77ef94849ef708420090cc253962caf5f03aa0b2.tar.gz |
emacs: enable editorconfig
Sponsored-by: author
Diffstat (limited to 'emacs.d')
-rw-r--r-- | emacs.d/init.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el index e2a48cc..5b1a62b 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -54,7 +54,8 @@ (use-package python-mode :config (py-underscore-word-syntax-p-off) - (add-hook 'python-mode-hook 'blacken-mode)) + (add-hook 'python-mode-hook 'blacken-mode) +) ;; Major mode for YAML files. (use-package yaml-mode @@ -209,6 +210,10 @@ (global-set-key (kbd "C-0") 'text-scale-adjust) ) +(use-package editorconfig + :ensure t + :config + (editorconfig-mode 1)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Other tweaks. |