Add new theme and make lua a standalone lang module
Some checks failed
/ Test config on 20 (push) Failing after 50s
Some checks failed
/ Test config on 20 (push) Failing after 50s
This commit is contained in:
parent
62a523fbec
commit
67066dee3d
11 changed files with 269 additions and 177 deletions
31
lisp/langs/icejam-lang-lua.el
Normal file
31
lisp/langs/icejam-lang-lua.el
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
;;; icejam-lang-lua.el --- summary
|
||||
|
||||
;; Author: Maciej Szlosarczyk
|
||||
;; Maintainer: Maciej Szlosarczyk
|
||||
;; Version: 0.1-snapshot
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; Lua mode
|
||||
|
||||
;;; Code:
|
||||
(eval-when-compile
|
||||
(declare-function column-enforce-n 'column-enforce-mode (number))
|
||||
(declare-function lsp 'lsp-mode)
|
||||
(declare-function icejam-set-indent 'icejam-prog-mode)
|
||||
(declare-function icejam-set-lsp-capfs 'icejam-complete-at-point)
|
||||
(defvar icejam-language-transient-alist))
|
||||
|
||||
(use-package lua-mode :ensure t :defer t :after (lsp-mode))
|
||||
|
||||
(defun icejam-activate-lua-mode ()
|
||||
"All things related to Lua."
|
||||
(icejam-set-indent 4)
|
||||
(column-enforce-n 100)
|
||||
(lsp)
|
||||
(icejam-set-lsp-capfs))
|
||||
|
||||
(add-hook 'lua-mode-hook 'icejam-activate-lua-mode)
|
||||
|
||||
(provide 'icejam-lang-lua)
|
||||
;;; icejam-lang-lua.el ends here
|
||||
Loading…
Add table
Add a link
Reference in a new issue