mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user