Skip to content

fix(concealer): apply correct extmark opts#1735

Open
austinliuigi wants to merge 2 commits into
nvim-neorg:mainfrom
austinliuigi:fix/concealer-overlay
Open

fix(concealer): apply correct extmark opts#1735
austinliuigi wants to merge 2 commits into
nvim-neorg:mainfrom
austinliuigi:fix/concealer-overlay

Conversation

@austinliuigi

Copy link
Copy Markdown
Contributor

This fixes two issues with the extmarks added by the concealer:

  • hides the extmarks when they flow off the screen due to horizontally scrolling
  • removes highlights on the extmarks that pads the left of headings/lists with whitespace

Demonstration of the wrapping issue: Notice how the extmarks stay on the left side of the screen even as the screen scrolls to the right. Also notice how the whitespace before the higher level headings has the heading highlight applied to it.

Before:

2025-09-10T17-33-16.mp4

After:

2025-09-10T17-37-47.mp4

@benlubas

Copy link
Copy Markdown
Contributor

I think arguably the heading whitespace having the heading highlight is intentional/desirable. Can we make it configurable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants