From 3b5c56138fc772a61b0385f3659aeed19e860dde Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 9 Jan 2024 04:14:04 -0800 Subject: [PATCH] Make sure cmake-ts-mode starts eglot --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)