mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-16 14:14:03 +02:00
No description
420ff30aa1
- Fixed a bug with a mistyped variable reference - Removed all unused variables/functions - Renamed a variable shadowing a script variable - Add a makefile and luacheckrc for running luacheck |
||
---|---|---|
lua | ||
plugin | ||
static | ||
.luacheckrc | ||
Makefile | ||
README.md |
nvim-treesitter-context
Very basic alternative to context.vim implemented with nvim-treesitter.
Install
Plug 'nvim-treesitter/nvim-treesitter'
Plug 'romgrk/nvim-treesitter-context'
Screenshot
Notes
Currently only updates the context on CursorMoved
because there is no good scroll
event, and trying to remap basic movement mappings like context.vim does ends up being
brittle.
Commands
TSContextEnable
and TSContextDisable
.