This is the tree-sitter parser for taskr. Currently only provides highlighting.
- 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", }- Restart
nvimand install the parser using:TSInstall taskr - Copy the contents of
queries/taskr/highlights.scminto~/.config/nvim/queries/taskr/highlights.scm - Restart
nvim.