-
Notifications
You must be signed in to change notification settings - Fork 10
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
Idea: highlight part of a file #75
Comments
FYI there are a few plugins that support similar functionality to what you are looking for:
I think focushere.nvim in particular is the closest match to the feature that you are requesting I'm open to adding this into vimade as well, but will need to consider the approach for a bit. I also want to see if I can just add the feature into one of these existing plugins. |
Just wanted to update this thread since I intentionally left the previous comment ambiguous as I wasn't sure if I could implement this with real syntax highlighting in Neovim (tldr - it works) I also wanted to first take a look and see if this could have been added into the existing plugins as I would have preferred to keep the logic separate. Unfortunately, it would have meant rewriting the plugins and basically re-implementing Vimade. I've been able to create a POC that proves out that this can be supported on Neovim, which was going to be the major hurdle (most of the logic I need for Vim is already built out). I'm going to release this for Neovim as version 2.5 for this plugin and Vim will be 3.0.0 when complete. There are a few features I need to wrap up with the approach, I think it will likely be ready this week |
…nds, VimadeMark commands. VimadeFocus is basically limelight with syntax highlighting. Created scope providers for VimadeFocus including treesitter (similar to twilight), blanks (similar to limelight), static (rolling static size), snacks.nvim, mini-indent, hlchunk.nvim. Scope providers can be configured based on filetype and can be used in any combination. Add VimadeMark, which allows you to select an area and prevent it from being faded.
This now exists, but undocumented for Neovim. Combined the features of the above-mentioned plugins but with actual highlighting and also added Changes include the following:
|
Attaching a preview using the new reuploadc.mp4(Not sure why but github breaks the first 10 seconds of the video, but this one is good enough) |
…een focus and global states, improves terminal highlighting when in focus mode, add cmdline completion highlights to blocklist so that they are readable in focus mode.
Would it be possible to fade parts of a buffer? When studying other people's code or for other reasons, I'd like to fade parts of a buffer (more precisely, highlight only between two given lines).
The text was updated successfully, but these errors were encountered: