Closed champignoom closed 2 weeks ago
More info about the current bug:
InspectTree
works as expectedInspect
works nowhere, always giving "No items found at position ... in buffer ..."So I guess this time it's not about the highlighting module but the syntax file.
really weird are you sure you have treesitter highlighting enabled? because the highlighting is done by treesitter and if the tree is correct highlighting should also work if it's enabled
You're right, the problem is solved when treesitter highlighting is enabled.
But I guess such config should be appended to the installation sinppet, immediately after
Clarified in the readme :)
Issues
Feature description
(Somehow) add a test for syntax highlighting and make it part of CI.
Context: I installed neorg, kanagawa, tokyonight with rocks.nvim, and --- for like 6th time of my own experience --- syntax highlighting works under neither coloscheme. Nor is there any other recommended colorscheme given in the README.
It might not always be a problem from neorg "itself", like the last time it turned out to be kanagawa that not catching up treesitter's breaking changes. It might even be a problem of neovim nightly. But in anyway, if the ability of figuring out such technicalities is a prerequisite for using neorg, then neorg's UX would be practically broken.
Therefore, I'd suggest to let neorg take some of the responsibility and contribute to the stability of neorg's UX. And since such annoyance of one of neorg's core functionality has occurred and been reported way too often and systematic than a random bug since my experience with neorg, I'd suggest to add a test for highlighting under the recommended colorschemes, at least for the part not concerning termcap, like bold/slant.
Help
Yes
Implementation help
No response