strings: fix raw-string-literal
format-seq: add format field modifiers
highlights: add "bool" @type
(Fork of ~ecmma/tree-sitter-hare)
Hare grammar for the popular incremental parser generator tree-sitter.
tree-sitter-hare is still in development. This fork is based on the work of ~ecmma. The grammar has been updated to the current specification and the tree significantly flattened in order to make queries easier and parsing faster. The tree is based on tree-sitter-c, with some help from tree-sitter-go and tree-sitter-rust.
require("nvim-treesitter.parsers").get_parser_configs().hare = {
install_info = {
url = "https://git.sr.ht/~rockorager/tree-sitter-hare",
files = {"src/parser.c"},
},
filetype = "hare",
requires_generate_from_grammar = true,
}
queries/highlights.scm
to
$XDG_CONFIG_HOME/nvim/queries/hare/highlights.scm
Patches or issues can be sent to ~rockorager/tree-sitter-hare@lists.sr.ht