No description
Find a file
Lewis Russell 420ff30aa1 Fix luacheck errors
- 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
2020-12-31 11:32:29 +00:00
lua Fix luacheck errors 2020-12-31 11:32:29 +00:00
plugin initial commit 2020-10-19 05:42:47 -04:00
static implement highlights for partial nodes 2020-10-20 19:10:00 -04:00
.luacheckrc Fix luacheck errors 2020-12-31 11:32:29 +00:00
Makefile Fix luacheck errors 2020-12-31 11:32:29 +00:00
README.md update readme 2020-10-19 05:45:48 -04:00

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

theme

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.