Make .clangd files yaml mode
This commit is contained in:
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)
|
||||
|
Reference in New Issue
Block a user