This commit is contained in:
parent
f03cae68b3
commit
2ef1340e6c
28 changed files with 140 additions and 220 deletions
|
|
@ -27,13 +27,12 @@
|
|||
:mode ("\\.graphqls\\'" . graphql-mode))
|
||||
|
||||
;; Yaml
|
||||
(declare-function lsp "lsp-mode" nil)
|
||||
(use-package yaml-mode :ensure t :defer t :requires (lsp))
|
||||
(use-package yaml-mode :ensure t :defer t)
|
||||
|
||||
(with-eval-after-load 'yaml-mode
|
||||
(defun icejam-lang-activate-yaml-mode ()
|
||||
"Activate yaml-mode."
|
||||
(lsp))
|
||||
(eglot-ensure))
|
||||
(add-hook 'yaml-mode-hook 'icejam-lang-activate-yaml-mode))
|
||||
|
||||
;; Other text files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue