Add LSP support to Kotlin
`lsp-mode` has built in support for Kotlin. This makes it automatically used if you use the `+lsp` flag.
This commit is contained in:
parent
9bd8904838
commit
c69a85c803
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
|||
;;; lang/kotlin/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! kotlin-mode
|
||||
:init
|
||||
(when (featurep! +lsp)
|
||||
(add-hook 'kotlin-mode-local-vars-hook #'lsp!)))
|
||||
|
||||
(after! kotlin-mode
|
||||
(set-docsets! 'kotlin-mode "Kotlin")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue