578 B
578 B
Treesitter grammars
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
parser_config.html_eex = {
install_info = {
url = "https://github.com/rockerBOO/tree-sitter-html-eex",
files = { "src/parser.c", "src/scanner.cc" },
},
maintainers = { "@rockerBOO" },
}
{
"nvim-treesitter/nvim-treesitter",
---@param opts TSConfig
config = function(\_, opts)
require("nvim-treesitter.configs").setup(opts)
-- you can add your code here
end,
},
vim.filetype.add({
pattern = { [".*/hypr/.*%.conf"] = "hyprlang" },
})