Skip to content

ruifm/nvim-treesitter-context

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Show code context

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Lua 99.5%
  • Vim Script 0.5%