You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[0] I do understand that some people will consider it noisy in some situations (just like the bugreporter on #53 described), but the benefit here is that I can see the context of everything in the screen without having to jump between lines. I think there's a value in having this behavior available as a configuration setting.
The text was updated successfully, but these errors were encountered:
I am now using https://github.com/nvim-treesitter/nvim-treesitter-context to achieve this, I just need to set mode = 'topline'.
It works based on treesitter and so it has a precise parsing of the file's contents to define what goes in the context.
I am now using https://github.com/nvim-treesitter/nvim-treesitter-context to achieve this, I just need to set mode = 'topline'. It works based on treesitter and so it has a precise parsing of the file's contents to define what goes in the context.
Exactly, that's setting missing here. I think it's still necessary to have it here because nvim-treesitter-context doesn't work on Classic Vim, as context.vim does; it's Neovim only.
I've created this issue after the following comment:
#53 (comment)
I'd like to only see the context of the topmost line[0], something like this (vscode's sticky scroll):
https://www.youtube.com/watch?v=iM4Vhrk4irY
Thank you for working on this plugin!
[0] I do understand that some people will consider it noisy in some situations (just like the bugreporter on #53 described), but the benefit here is that I can see the context of everything in the screen without having to jump between lines. I think there's a value in having this behavior available as a configuration setting.
The text was updated successfully, but these errors were encountered: