Dominik Süß

fighting computers since 1999

override language id in eglot


To override the LSP language id presented to the consuming language server, use this pattern when configuring the target lsp server:

(add-to-list 'eglot-server-programs '((templ-ts-mode :language-id "html") . ("superhtml" "lsp")))