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")
(js "https://github.com/tree-sitter/tree-sitter-javascript")
(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
(setq major-mode-remap-alist
'((c-mode . c-ts-mode)
@ -408,7 +409,7 @@ visual states."
;; eglot
(use-package eglot
: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))
:init
(defvar my/-eglot-documentation-buffer nil