[Question] Not applied after installation
Closed this issue · 5 comments
tan-wei commented
First, thanks for this repo.
But after I've installed the tree-sitter parser by:
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
parser_config.doxygen = {
install_info = {
url = "https://github.com/amaanq/tree-sitter-doxygen", -- local path or git repo
files = { "src/parser.c", "src/scanner.c" }, -- note that some parsers also require src/scanner.c or src/scanner.cc
},
filetype = "cpp", -- if filetype does not match the parser name
}
and then :TSinstall doxygen
, I can confirmed that the parser is sucessfully installed.
However, the doxygen comment in c/c++ is not highlighted.
Is my filetype
set wrong? Thanks!
tan-wei commented
amaanq commented
parser installation doesn't add queries, just wait for the nvim-ts pr.
tan-wei commented
Got it. Thanks.
amaanq commented
It's available now, do let me know of parsing issues in this repo though
tan-wei commented
Any special installation step needed?
OK. Now :TSInstall doxygen
is available, and now it works very! Thanks very much.