-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More support #1
Comments
Hey @doomgutt, I was able to at least tell If you're using Lazy, in the init = function ()
local parser_config = require 'nvim-treesitter.parsers'.get_parser_configs()
parser_config._hyperscript = {
filetype = 'hyperscript',
install_info = {
url = 'https://github.com/dz4k/tree-sitter-_hyperscript',
files = { 'src/parser.c' },
branch = 'main',
requires_generate_from_grammar = false,
}
}
end What is needed now, is to inject the grammar on top of HTML when there is a I really have no clue how to do it, and it seems quite the rabbit hole. |
I have the suspicion it has to do with this file https://github.com/tree-sitter/tree-sitter-html/blob/master/queries/injections.scm |
Hey, I've been trying to find a way to get some highlighting for hyperscript in neovim and so far it hasn't worked yet. I can't tell if i'm configuring treesitter wrong or this parser is out of date.
Any support at all would be great, thanks.
The text was updated successfully, but these errors were encountered: