Move lang files
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
This commit is contained in:
parent
bf90b046b8
commit
1f20dd7bc1
27 changed files with 81 additions and 82 deletions
34
lisp/langs/icejam-lang-kotlin.el
Normal file
34
lisp/langs/icejam-lang-kotlin.el
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
;;; kotlin.el --- summary -*- lexical-binding: t; -*-
|
||||
|
||||
;; 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 'icejam-lang-kotlin)
|
||||
;;; icejam-lang-kotlin.el ends here
|
||||
Loading…
Add table
Add a link
Reference in a new issue