You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

1.3 KiB

Language - Kotlin

Package

Define Kotlin language package.

  (use-package emacs
    :after uno-lang
    :config
    (provide 'uno-lang-kotlin))

Kotlin Mode

  (use-package kotlin-mode
    :after uno-lang-kotlin)

LSP Integration

  (use-package emacs
    :after (uno-lang-kotlin uno-dev-lsp kotlin-mode)
    :if (executable-find "javac")
    :hook
    (kotlin-mode . lsp))

Ligatures

  (use-package emacs
    :after uno-lang-kotlin
    :config
    (ligature-set-ligatures 'kotlin-mode '("=="
                                          "!="
                                           "__"
                                           "/*"
                                           "*/"
                                           "??"
                                           "?."
                                           "//"
                                           ">="
                                           "<="
                                           ".."
                                           "||"
                                           "&&"
                                           "!!")))