To install this package from Emacs, use package-install
or list-packages
.
Major mode for Blueprint (https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/) based on Treesitter.
You need Emacs version >= 29. Your Emacs also needs to be compiled with Treesitter support (--with-tree-sitter
) which you can check with the variable system-configuration-options
.
Get the grammar:
(add-to-list 'treesit-language-source-alist '(blueprint . (https://github.com/huanie/tree-sitter-blueprint))) (treesit-install-language-grammar 'blueprint)
Install blueprint-ts-mode
from NONGNU ELPA. package-install blueprint-ts-mode
.
Treesitter based navigation
These features still need improvement. Feedback and contributions are welcome!
Please make sure that you have the latest grammar installed from https://github.com/huanie/tree-sitter-blueprint.
blueprint-ts-mode-0.0.2.tar.lz | 2023-Oct-03 | 2.88 KiB |
blueprint-ts-mode-0.0.1.tar.lz | 2023-Oct-02 | 2.63 KiB |