mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
17 lines
572 B
EmacsLisp
17 lines
572 B
EmacsLisp
;;; lang/kotlin/config.el -*- lexical-binding: t; -*-
|
|
|
|
(after! kotlin-mode
|
|
(set-docsets! 'kotlin-mode "Kotlin")
|
|
|
|
(map! :map kotlin-mode-map
|
|
:localleader
|
|
:prefix ("b" . "build")
|
|
:desc "gradlew assemble" "a" (λ! (+kotlin/run-gradlew "assemble"))
|
|
:desc "gradlew build" "b" (λ! (+kotlin/run-gradlew "build"))
|
|
:desc "gradlew test" "t" (λ! (+kotlin/run-gradlew "test"))))
|
|
|
|
(def-package! flycheck-kotlin
|
|
:when (featurep! :tools flycheck)
|
|
:after kotlin-mode
|
|
:config (add-hook 'kotlin-mode-hook #'flycheck-kotlin-setup))
|