Make sure cmake-ts-mode starts eglot
This commit is contained in:
parent
9abf3bd469
commit
3b5c56138f
3
init.el
3
init.el
@ -676,7 +676,8 @@ COMMAND and COMINT are like `compile'."
|
||||
(defun my/setup-cmake-ts-mode ()
|
||||
"Setup `cmake-ts-mode' buffers."
|
||||
(setq-local indent-line-function #'cmake-indent))
|
||||
(add-hook 'cmake-ts-mode-hook #'my/setup-cmake-ts-mode))
|
||||
(add-hook 'cmake-ts-mode-hook #'my/setup-cmake-ts-mode)
|
||||
(add-hook 'cmake-ts-mode-hook #'eglot-ensure))
|
||||
|
||||
;; json
|
||||
(use-package json-mode)
|
||||
|
Loading…
Reference in New Issue
Block a user