Add blueprint mode stuff

This commit is contained in:
Alexander Rosenberg 2023-10-20 02:23:52 -07:00
parent 3cbe9210e0
commit 6379097260
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -118,7 +118,8 @@
(go "https://github.com/tree-sitter/tree-sitter-go") (go "https://github.com/tree-sitter/tree-sitter-go")
(js "https://github.com/tree-sitter/tree-sitter-javascript") (js "https://github.com/tree-sitter/tree-sitter-javascript")
(bash "https://github.com/tree-sitter/tree-sitter-bash") (bash "https://github.com/tree-sitter/tree-sitter-bash")
(cmake "https://github.com/uyha/tree-sitter-cmake"))) (cmake "https://github.com/uyha/tree-sitter-cmake")
(blueprint "https://github.com/huanie/tree-sitter-blueprint")))
;; Tree sitter major mode conversions ;; Tree sitter major mode conversions
(setq major-mode-remap-alist (setq major-mode-remap-alist
'((c-mode . c-ts-mode) '((c-mode . c-ts-mode)
@ -408,7 +409,7 @@ visual states."
;; eglot ;; eglot
(use-package eglot (use-package eglot
:hook (((c-ts-mode c++-ts-mode java-ts-mode rust-ts-mode python-ts-mode :hook (((c-ts-mode c++-ts-mode java-ts-mode rust-ts-mode python-ts-mode
latex-mode markdown-mode) . eglot-ensure) latex-mode markdown-mode blueprint-ts-mode) . eglot-ensure)
(eglot-managed-mode . my/-eglot-setup)) (eglot-managed-mode . my/-eglot-setup))
:init :init
(defvar my/-eglot-documentation-buffer nil (defvar my/-eglot-documentation-buffer nil