From d2a52430dd003ea545aac5d6ed585ba587dd63fc Mon Sep 17 00:00:00 2001 From: larstvei Date: Tue, 3 Feb 2026 03:02:30 +0100 Subject: [PATCH] Add gleam-ts-mode It was interesting to see that this works pretty well right away, using the built-in LSP with eglot. --- init.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/init.org b/init.org index c0cac91..a3b3f60 100644 --- a/init.org +++ b/init.org @@ -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.