Make loading faster by eliminating require blocks
Some checks failed
/ Test config on 20 (push) Failing after 45s
Some checks failed
/ Test config on 20 (push) Failing after 45s
This commit is contained in:
parent
3641dad52a
commit
118cf92a27
37 changed files with 234 additions and 211 deletions
|
|
@ -9,9 +9,10 @@
|
|||
;; Gleam language support
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'icejam-prog-mode)
|
||||
(require 'icejam-lsp)
|
||||
(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)
|
||||
|
||||
(use-package gleam-ts-mode :defer t :after (lsp)
|
||||
:ensure (:type git
|
||||
|
|
@ -25,7 +26,8 @@
|
|||
"All things Gleam."
|
||||
(icejam-set-indent 2)
|
||||
(column-enforce-n 100)
|
||||
(lsp))
|
||||
(lsp)
|
||||
(icejam-set-lsp-capfs))
|
||||
|
||||
(add-hook 'gleam-mode-hook 'icejam-lang-activate-gleam-mode)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue