Skip to content

Emacs major mode for editing blueprint files.

License

Notifications You must be signed in to change notification settings

syohex/blueprint-ts-mode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

blueprint-ts-mode

Major mode for Blueprint (https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/) based on Treesitter.

Installation

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 (not yet). package-install blueprint-ts-mode.

Features

  • Font Lock
  • Indentation
  • Eglot integration
  • Treesitter based navigation

    These features still need improvement. Feedback and contributions are welcome!

About

Emacs major mode for editing blueprint files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%