astro lsp eglot
This commit is contained in:
parent
7c5ce54427
commit
8b821b09f2
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue