Adding custom queries #233
Unanswered
ranjithshegde
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Oh nice, i wasn't even aware of it. There are only some additional queries loaded for todo keywords, but stars shouldn't be overwritten. Does it happen if you try to override some "Normal" highlight? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried setting conceal via after/syntax/ directory like this syntax match OrgHeadlineStar1 /^\*\ze\s/me=e-1 conceal cchar=◉ containedin=OrgHeadlineLevel1 contained Same. It does not work |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since setting conceal from treesitter has been merged in core, I have been trying to set my own queries for org bullets like this
When I append the above snippet to
packer/*/orgmode/queries/org/highlights.scm
it works perfectly. However when I do it in my~/.config/nvim/after/queries/org/highlights.scm
it does not apply.I have tested similar conceal in config path for markdown and it works.
Does orgmode override the queries?
Beta Was this translation helpful? Give feedback.
All reactions