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:
larstvei 2026-02-03 03:02:30 +01:00
parent 11a24c14d3
commit d2a52430dd

View File

@ -2068,6 +2068,17 @@
#+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
[[https://github.com/justbur/emacs-which-key][Which key]] is nice for discoverability.