Make loading faster by eliminating require blocks
Some checks failed
/ Test config on 20 (push) Failing after 45s

This commit is contained in:
Maciej 2025-01-17 10:22:38 +02:00
parent 3641dad52a
commit 118cf92a27
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
37 changed files with 234 additions and 211 deletions

View file

@ -9,10 +9,10 @@
;; kotlin does a thing.
;;; Code:
(require 'icejam-prog-mode)
(declare-function lsp "lsp-mode" nil)
(declare-function column-enforce-n "column-enforce-mode" (number))
(declare-function column-enforce-n 'column-enforce-mode (number))
(declare-function lsp 'lsp-mode)
(declare-function icejam-set-indent 'icejam-prog-mode)
(declare-function icejam-set-lsp-capfs 'icejam-complete-at-point)
(use-package kotlin-ts-mode
:ensure t
@ -28,7 +28,8 @@
"All things Kotlin."
(icejam-set-indent 2)
(column-enforce-n 100)
(lsp))
(lsp)
(icejam-set-lsp-capfs))
(add-hook 'kotlin-ts-mode-hook 'icejam-activate-kotlin-mode)