diff --git a/clients/lsp-gleam.el b/clients/lsp-gleam.el index f78756feda..5e9651c864 100644 --- a/clients/lsp-gleam.el +++ b/clients/lsp-gleam.el @@ -40,7 +40,7 @@ (lsp-register-client (make-lsp-client :new-connection (lsp-stdio-connection lsp-gleam-executable) - :major-modes '(gleam-mode) + :major-modes '(gleam-mode gleam-ts-mode) :priority -1 :server-id 'gleam-lsp)) diff --git a/lsp-mode.el b/lsp-mode.el index dce5851e79..5512efc768 100644 --- a/lsp-mode.el +++ b/lsp-mode.el @@ -956,6 +956,7 @@ Changes take effect only when a new session is started." (idris-mode . "idris") (idris2-mode . "idris2") (gleam-mode . "gleam") + (gleam-ts-mode . "gleam") (graphviz-dot-mode . "dot") (tiltfile-mode . "tiltfile") (solidity-mode . "solidity")