Update 2021-04-21

This commit is contained in:
Maciej 2021-04-19 08:52:43 +03:00
parent 6dc31b3338
commit eb6b5fb740
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
5 changed files with 84 additions and 43 deletions

34
lang/kotlin.el Normal file
View file

@ -0,0 +1,34 @@
;;; kotlin.el --- summary
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
;; Version: 0.1-snapshot
;;; Commentary:
;; kotlin does a thing.
;;; Code:
(use-package kotlin-mode
:defer t
:straight t)
(use-package gradle-mode
:defer t
:straight t)
(defun activate-kotlin-mode ()
"All things Kotlin."
(set-indent 4)
(column-enforce-n 100)
(lsp)
;; Company list override
(add-to-list (make-local-variable 'company-backends)
'(company-capf company-yasnippet)))
(add-hook 'kotlin-mode-hook 'activate-kotlin-mode)
(provide '+custom-lang-kotlin)
;;; kotlin.el ends here