-
Notifications
You must be signed in to change notification settings - Fork 51
feature: #168
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
Comments
The modes this plugin renders content in is configurable through the If you want it to render in require('render-markdown').setup({
render_modes = { 'n', 'v', 'i', 'c' },
}) You can expand the list of modes as much as you like to include all the modes you want to be rendered. I also recently pushed a change which allows require('render-markdown').setup({
render_modes = true,
}) |
Does the above take care of the feature request or were there specific other things you had in mind? |
Oh thanks I missed it. |
## Details Request: #168 Rather than removing marks on current row only, for visual mode specifically use the range of the selected text. This allows users to see what's actually being selected rather that still being overlayed by marks. All other modes continue to behave the same as before. Moves the logic for caclulating the hidden range out of `extmark` module and into `ui` since that now seems like a better fit.
Sure, should work after: 5ff191f |
It does not use inlay hints, everything is an How did you create this selection?
There are different types of visual modes and I may not have handled all of them. |
I've updated the logic to handle all the visual modes here: 354baf4. Can you update and try again, should work regardless of what you do to select. |
Yes it works, thanks! |
Is your feature request related to a problem? Please describe.
There is no way to configure how things are concealed
Describe the solution you'd like
Configuration options for the following functionality:
The desired goal for me is when going to a mode that isn't normal (insert/visual) I don't want the entire file to get back to normal just because I edit a TODO, so being able to decide to only show the raw text when the cursor is on the thing and not the entire file (like the current normal mode behavior), or even specifying a range like "show only 5 lines around the cursor (2 up, 2 down, 1 current).
Another thing that'd be cool, is in visual mode, only show raw text that is actively selected (or some amount of lines around selections) rather than the entire file.
Describe alternatives you've considered
N/A
Additional information
No response
The text was updated successfully, but these errors were encountered: