-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
Neorg not highlighting markup #1388
Comments
I don't really know how to debug this, but I ran the command |
It seems like you don't have TreeSitter highlighting enabled Try adding highlight = {
enable = true
} To nvim-treesitter.configs opts |
Thank you so much that was it. Once the issues with |
@MihailMihov I'm not a maintainer of neorg or rocks-treesitter, so I don't know for sure, but looking at the rocks-treesitter readme, it seems like highlighting should still be enabled in the https://github.com/nvim-neorocks/rocks-treesitter.nvim?tab=readme-ov-file#using-rockstoml |
@MihailMihov yep once rocks-treesitter.nvim is fully stabilized highlighting will be enabled in all files automatically. In the meantime you can set your colourscheme from rocks-config.nvim itself: [config]
colorscheme = "kanagawa-wave" # Example colourscheme This is equivalent to running |
Prerequisites
Neovim Version
NVIM v0.10.0-dev-2783+g381806729-dirty Build type: Release LuaJIT 2.1.0-beta3
Neorg setup
Actual behavior
First screenshot is before
:Neorg toggle-concealer
, second is after. Only the headings change to icons and for some reason the spoiler text. Same behaviour as #1374.Expected behavior
Markdown text is properly highlighted.
Steps to reproduce
I followed the instructions to install
rocks.nvim
. My config is here. I set my colorscheme as opt and loaded it in it's rocks-config file, because otherwise I got an error that it's not found (as per the rocks-config README). I was then experiencing the issue in #1351, so I added the snippet from there to my config and now neorg loads, but the concealer isn't working properly. Running:InspectTree
does give the expected output I think:Potentially conflicting plugins
No response
Other information
I'm using foot terminal, I have Source Code Pro and the symbols from Nerd Fonts installed. I also installed the tree-sitter-cli, but that didn't change anything. I tried Vhyrro's config, as it uses rocks.nvim, but I believe that it isn't updated as it failed to even load the colorscheme.
Help
No
Implementation help
No response
The text was updated successfully, but these errors were encountered: