Use yaml-ts-mode and yaml-pro-mode instead of yaml-language-server
This commit is contained in:
parent
3f7dc1c744
commit
3a74967ee3
@ -235,7 +235,6 @@
|
||||
(ruby-ts-mode . eglot-ensure)
|
||||
(sh-mode . eglot-ensure)
|
||||
(bash-ts-mode . eglot-ensure)
|
||||
(yaml-mode . eglot-ensure)
|
||||
(astro-ts-mode . eglot-ensure)
|
||||
:custom
|
||||
(eglot-confirm-server-initiated-edits nil)
|
||||
|
@ -1,9 +1,13 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
|
||||
;; YAML - literally the worst but still holds an important place in my life
|
||||
(use-package yaml-mode
|
||||
(use-package yaml-ts-mode
|
||||
:mode ("\\.yaml\\'" "\\.yml\\'")
|
||||
:config
|
||||
(add-hook 'yaml-mode-hook #'highlight-indent-guides-mode))
|
||||
(add-hook 'yaml-ts-mode-hook #'highlight-indent-guides-mode))
|
||||
|
||||
(use-package yaml-pro
|
||||
:when (treesit-ready-p 'yaml)
|
||||
:hook (yaml-ts-mode . yaml-pro-ts-mode))
|
||||
|
||||
(provide 'init-yaml)
|
||||
|
Loading…
Reference in New Issue
Block a user