Make .clangd files yaml mode
This commit is contained in:
parent
997be323f5
commit
819d0eda4f
1
init.el
1
init.el
@ -1941,6 +1941,7 @@ otherwise, call `bibtex-find-text'."
|
||||
:hook ((yaml-ts-mode . trusted-files-eglot-ensure-if-safe)
|
||||
(yaml-ts-mode . my/-setup-yaml-ts-mode))
|
||||
:init
|
||||
(add-to-list 'auto-mode-alist `("\\.clangd\\'" . yaml-ts-mode))
|
||||
(defun my/-setup-yaml-ts-mode ()
|
||||
(setq indent-line-function #'yaml-indent-line)))
|
||||
(use-package yaml-mode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user