Fix location of lsp hook in kotlin/config.el
This commit is contained in:
parent
c69a85c803
commit
591d8d8e56
1 changed files with 2 additions and 5 deletions
|
@ -1,11 +1,8 @@
|
||||||
;;; lang/kotlin/config.el -*- lexical-binding: t; -*-
|
;;; 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
|
(after! kotlin-mode
|
||||||
|
(when (featurep! +lsp)
|
||||||
|
(add-hook 'kotlin-mode-local-vars-hook #'lsp!))
|
||||||
(set-docsets! 'kotlin-mode "Kotlin")
|
(set-docsets! 'kotlin-mode "Kotlin")
|
||||||
|
|
||||||
(map! :map kotlin-mode-map
|
(map! :map kotlin-mode-map
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue