diff --git a/init.el b/init.el index 2c4c877..593505f 100644 --- a/init.el +++ b/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)