Update 2021-04-21
This commit is contained in:
parent
6dc31b3338
commit
eb6b5fb740
5 changed files with 84 additions and 43 deletions
34
lang/kotlin.el
Normal file
34
lang/kotlin.el
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue