nvim-treesitter-context icon indicating copy to clipboard operation
nvim-treesitter-context copied to clipboard

Show code context

Results 61 nvim-treesitter-context issues
Sort by recently updated
recently updated
newest added

Loading the treesitter-context package in the latest nightly causes this error ![image](https://user-images.githubusercontent.com/5762261/111252918-2aabc200-85e0-11eb-88b5-c18aaaa733f0.png) Latest neovim 0.5 ``` NVIM v0.5.0-dev+1152-gf5daf55c1 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compilation: /usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og...

bug

Bug happens when using this plugin along with [vim-which-key](https://github.com/liuchengxu/vim-which-key) and with `vim.g.which_key_use_floating_win = 1`. ![2021-04-03 01-41-54](https://user-images.githubusercontent.com/35671374/113468671-fdec0d00-941d-11eb-86cc-8c5be0743e29.gif) After invoking which-key inside a context that is being displayed and exiting it, my...

bug

Just a simple c++ function ``` int main() { // a lot of space } ``` Works as intended when inside On the last line (`}`): `init.vim`: ``` set nu...

bug

a quick fix for showing all context regardless of position on screen.

This is helpful if you have an editor with a bunch of tiny windows to not have them eaten up by context that there's not space for.

Fixes #28, #75, #77, #80, #82, #91, #93

Hi, I have a use case wehre I would like to disable treesitter-context but enable for all others, is it possible to do so?

Some times you are inside a block where the top of the block is still on screen. I would very much like the possibility to highlight those lines as well,...

I do not enable line number but do find relative/absolute line number useful in this case. So i added another option to enable only for the context line. ![image](https://user-images.githubusercontent.com/21372855/192415292-0635b9da-93d1-4100-a259-162f81fef9fe.png) ![image](https://user-images.githubusercontent.com/21372855/192415379-6de44029-fc0f-49a8-9e6c-6475cbfd8fd5.png)