/nvim-treesitter-rockcraft-injections

Treesitter injections for rockcraft.yaml files.

Primary LanguageSchemeMIT LicenseMIT

nvim-treesitter-rockcraft-injections

Treesitter injections for rockcraft.yaml files.

Features:

Inject bash syntax highlighting for the various script fields in rockcraft YAML specs as defined here, namely:

  • overlay-script
  • override-pull
  • override-build
  • override-stage
  • override-prime

screenshot

Installation:

NOTE: ensure you have nvim-treesitter already installed

Depending on your package manager, add the following to your config:

  • Vundle: Plugin 'aznashwan/nvim-treesitter-rockcraft-injections'
  • Vim-Plug: Plug 'aznashwan/nvim-treesitter-rockcraft-injections'
  • Packer: use 'aznashwan/nvim-treesitter-rockcraft-injections'

After adding the plugin to your package manager config, open NeoVim and run: