* bug#68865: 30.0.50; [PATCH] Support kotlin-ts-mode in Eglot
@ 2024-02-01 3:53 Mou Tong
2024-02-02 7:28 ` Stefan Kangas
0 siblings, 1 reply; 2+ messages in thread
From: Mou Tong @ 2024-02-01 3:53 UTC (permalink / raw)
To: 68865
[-- Attachment #1.1: Type: text/plain, Size: 229 bytes --]
New tree-sitter based major [mode] for editing kotlin files.
Can we make eglot support it? I have used it with eglot for a while and
havn't met any problem, thx ;)
[mode]: https://gitlab.com/bricka/emacs-kotlin-ts-mode
[-- Attachment #1.2: Type: text/html, Size: 833 bytes --]
[-- Attachment #2: 0001-Support-kotlin-ts-mode-in-Eglot.patch --]
[-- Type: application/octet-stream, Size: 1098 bytes --]
From 3cbc3cd5e55c123758b5b36ccab113497c253694 Mon Sep 17 00:00:00 2001
From: dalu <mou.tong@outlook.com>
Date: Thu, 1 Feb 2024 11:45:13 +0800
Subject: [PATCH] Support kotlin-ts-mode in Eglot
---
lisp/progmodes/eglot.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index beba268f923..9d1c8759842 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -259,7 +259,7 @@ eglot-server-programs
. ("haskell-language-server-wrapper" "--lsp"))
(elm-mode . ("elm-language-server"))
(mint-mode . ("mint" "ls"))
- (kotlin-mode . ("kotlin-language-server"))
+ ((kotlin-mode kotlin-ts-mode) . ("kotlin-language-server"))
((go-mode go-dot-mod-mode go-dot-work-mode go-ts-mode go-mod-ts-mode)
. ("gopls"))
((R-mode ess-r-mode) . ("R" "--slave" "-e"
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-02 7:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01 3:53 bug#68865: 30.0.50; [PATCH] Support kotlin-ts-mode in Eglot Mou Tong
2024-02-02 7:28 ` Stefan Kangas
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.