-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
JSX highlight not working #5
Comments
Do you have your |
I run My treesitter config is like the code below: return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
-- Tree sitter config
local config = require("nvim-treesitter.configs")
config.setup({
ensure_installed = { "lua", "javascript", "typescript", "html", "json", "css", "tsx" },
-- auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
indent = { enable = true },
})
end,
} |
I have these lines configured in mine local parser_config = require('nvim-treesitter.parsers').get_parser_configs()
parser_config.tsx.filetype_to_parsername = { 'javascript', 'typescript.tsx' } The theme works well for me in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Min Theme apply colors to jsx syntax like image below:
When I use min-theme.nvim, I have the result below:
The text was updated successfully, but these errors were encountered: