ELPA Logo NonGNU ELPA: blueprint-ts-mode

blueprint-ts-mode Atom Feed

Description
tree-sitter support for Blueprint files
Latest
blueprint-ts-mode.tar (.sig), 2024-Mar-31, 20.0 KiB
Maintainer
Other versions:
development version
Website
https://github.com/huanie/blueprint-ts-mode
ELPA's Repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

NONGNU ELPA

1. blueprint-ts-mode

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

2. 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.

On Emacs 30 and older (or Emacs 31 and newer, if treesit-auto-install-grammar is set to never), there is an addition step to get the grammar:

(require 'blueprint-ts-mode)
(treesit-install-language-grammar 'blueprint)

Install blueprint-ts-mode from NONGNU ELPA. package-install blueprint-ts-mode.

3. Features

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

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

4. Reporting Bugs

Please make sure that you have the latest grammar installed from https://github.com/huanie/tree-sitter-blueprint.

Old versions

blueprint-ts-mode-0.0.2.tar.lz2023-Oct-032.88 KiB
blueprint-ts-mode-0.0.1.tar.lz2023-Oct-022.63 KiB