astro lsp eglot

This commit is contained in:
Sakooooo 2024-08-03 17:00:07 +04:00
parent 7c5ce54427
commit 8b821b09f2
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -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