From 22b0c893c1a43ab411a5a5759052b4441a9685fb Mon Sep 17 00:00:00 2001 From: James N Date: Sun, 12 Aug 2018 17:50:17 -0700 Subject: [PATCH] Add kotlin-language-server (#70) https://github.com/fwcd/KotlinLanguageServer copyright-paperwork-exempt: yes * README.md (Installation and Usage): declare Kotlin support. --- README.md | 2 ++ eglot.el | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a7afbb76..ad47330a 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ for the language of your choice. Otherwise, it prompts you to enter one: * PHP's [php-language-server][php-language-server] * C/C++'s [cquery][cquery] * Haskell's [IDE engine][haskell-ide-engine] +* Kotlin's [kotlin-language-server][kotlin-language-server] I'll add to this list as I test more servers. In the meantime you can customize `eglot-server-programs`: @@ -286,4 +287,5 @@ Under the hood: [solargraph]: https://github.com/castwide/solargraph [windows-subprocess-hang]: https://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Subprocess-hang.html [haskell-ide-engine]: https://github.com/haskell/haskell-ide-engine +[kotlin-language-server]: https://github.com/fwcd/KotlinLanguageServer diff --git a/eglot.el b/eglot.el index 427fa293..43334adf 100644 --- a/eglot.el +++ b/eglot.el @@ -90,7 +90,8 @@ :autoport)) (php-mode . ("php" "vendor/felixfbecker/\ language-server/bin/php-language-server.php")) - (haskell-mode . ("hie-wrapper"))) + (haskell-mode . ("hie-wrapper")) + (kotlin-mode . ("kotlin-language-server"))) "How the command `eglot' guesses the server to start. An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE is a mode symbol, or a list of mode symbols. The associated