mirror of
https://github.com/larstvei/dot-emacs.git
synced 2026-02-11 22:20:11 +00:00
Add gleam-ts-mode
It was interesting to see that this works pretty well right away, using the built-in LSP with eglot.
This commit is contained in:
parent
11a24c14d3
commit
d2a52430dd
11
init.org
11
init.org
@ -2068,6 +2068,17 @@
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Gleam
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package gleam-ts-mode
|
||||||
|
:mode "\\.gleam\\'"
|
||||||
|
:after eglot
|
||||||
|
:hook (gleam-ts-mode . eglot-ensure)
|
||||||
|
:config
|
||||||
|
(add-to-list 'eglot-server-programs '(gleam-ts-mode . ("gleam" "lsp"))))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Which key
|
* Which key
|
||||||
|
|
||||||
[[https://github.com/justbur/emacs-which-key][Which key]] is nice for discoverability.
|
[[https://github.com/justbur/emacs-which-key][Which key]] is nice for discoverability.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user