make editorconfig works in js-ts-mode
This commit is contained in:
1 file changed
+3
@@ -24,5 +24,8 @@
|
|||||||
(add-to-list 'auto-mode-alist
|
(add-to-list 'auto-mode-alist
|
||||||
'("\\.editorconfig\\'" . editorconfig-conf-mode))
|
'("\\.editorconfig\\'" . editorconfig-conf-mode))
|
||||||
|
|
||||||
|
(with-eval-after-load 'editorconfig
|
||||||
|
(add-to-list 'editorconfig-indentation-alist '(js-ts-mode js-indent-level)))
|
||||||
|
|
||||||
|
|
||||||
(provide 'init-editorconfig)
|
(provide 'init-editorconfig)
|
||||||
Reference in new issue
Block a user