From 8b821b09f2b0495ec3ac02946bb6b1c15f480d84 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 3 Aug 2024 17:00:07 +0400 Subject: [PATCH] astro lsp eglot --- config/emacs/emacs.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 620801f4..dbf90442 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -923,6 +923,11 @@ this should be useful later (setq auto-mode-alist (append '((".*\\.astro\\'" . astro-mode)) auto-mode-alist)) + + (add-to-list 'eglot-server-programs + '(astro-mode . ("astro-ls" "--stdio" + :initializationOptions + (:typescript (:tsdk "./node_modules/typescript/lib"))))) #+end_src ** C/C++ #+begin_src emacs-lisp