Skip to content

taskrfile/tree-sitter-taskr

Repository files navigation

tree-sitter-taskr

This is the tree-sitter parser for taskr. Currently only provides highlighting.

Manual configuration

  1. Put this snippet in your nvim-treesiter configuration.
local parser_config = require("nvim-treesitter.parsers").get_parser_configs() parser_config.taskr = { install_info = { url = "https://github.com/arne-vl/tree-sitter-taskr", files = { "src/parser.c" }, branch = "main", generate_requires_npm = true, requires_generate_from_grammar = true, }, filetype = "taskrfile", }
  1. Restart nvim and install the parser using :TSInstall taskr
  2. Copy the contents of queries/taskr/highlights.scm into ~/.config/nvim/queries/taskr/highlights.scm
  3. Restart nvim.

About

tree-sitter parser for taskrfiles

Topics

Resources

License

Stars

Watchers

Forks