-
Notifications
You must be signed in to change notification settings - Fork 114
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
YAML not working propoerly #14
Comments
The theme is actually working as expected, its just that the treesitter parser for yaml isn't very colorful. You can open an issue at https://github.com/ikatyang/tree-sitter-yaml. If they don't respond and/or close your issue, then I'll be happy to make a language configuration for yaml so it looks a bit better An alternative would be to uninstall the treesitter-yaml parser so that it falls back to the regex highlighting, which may not be as accurate but would look better. |
Oh my god! That's … really not what I was expecting. Thank you, as always you are super helpful! In the first instance, I shall open an issue upstream and link this one. In case anyone wanted to know more, here's my Lua config for tree sitter: " Tree sitter.
" -▼-
:lua <<EOF
require'nvim-treesitter.configs'.setup {
ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
highlight = {
enable = true, -- false will disable the whole extension
disable = {"yaml", }, -- list of language that will be disabled
-- disable = {}, -- list of language that will be disabled
},
}
EOF
" -▲- |
After some debugging, I found that the current theme does not work on YAML files.
Using the normal nord (no treesitter) theme:
Using the normal nord (no treesitter) theme:
With
nord.vim
:Am I doing something wrong there?
The text was updated successfully, but these errors were encountered: