-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
Concealer stopped working after upgrade to 8.0 #1417
Comments
@michaeyk does conceal work in other parts of neovim? For markdown/json for example? This seems like a conceal problem rather than a concealer problem b/c headings are working (which are handled by the concealer). I can't reproduce this at all btw. |
Conceal works fine on markdown files. |
bold text doesn't conceal. It seems like headings are the only things that work. |
Headings and lists probably. They're the two that are done differently to the links/bold/italic/etc. This is exactly what I would expect to happen if conceallevel isn't set properly, but that can't be the case if you've set it manually (I'd just quadruple check to be sure If you could provide a minimal nvim config for reproducing that would be great. If I can't reproduce the issue I unfortunately can't offer much more help. |
Wait. Do you have treesitter highlighting enabled? |
no you don't. That's the issue. Add this to your configuration (you already load this plugin, you just never configure it). {
"nvim-treesitter/nvim-treesitter",
lazy = false,
config = function()
---@diagnostic disable-next-line: missing-fields
require("nvim-treesitter.configs").setup({
highlight = {
enable = true,
additional_vim_regex_highlighing = { "typst" },
},
indent = {
enable = true,
},
})
end,
} |
Thank you! That was it. |
Closing as fixed, this will become even less of an issue once we stop relying on nvim-treesitter :) |
Prerequisites
Neovim Version
NVIM v0.9.5
Neorg setup
Actual behavior
Conceal doesn't work for links.
Expected behavior
Links should be hidden unless cursor is on them. Strikethrough doesn't work either. Lists work as expected.
Steps to reproduce
Noticed the problem after a successful upgrade to 8.0.
Potentially conflicting plugins
Not sure. I tried commenting out some of my plugins, no help.
Other information
I tried nvim nightly. I set the conceallevel explicitly. I have changed colorschemes.
Help
None
Implementation help
No response
The text was updated successfully, but these errors were encountered: