treeman / tree-sitter-djot

MIT License
30 stars 5 forks source link

Add conceal to highlights #8

Closed treeman closed 5 months ago

treeman commented 5 months ago

One question I have is how much and what to conceal. I personally don't use or like conceal that much for markup, but I'd like to have some good default conceals for those that do.

There are some things that seems clear we'd like to have:

But I'm less convinced to conceal block delimiters such as:

I know some people like to hide them too, and it's what the markdown treesitter does, but personally I like having to see where the blocks begin and end.

@NoahTheDuke any input?