Neovim: Add treesitter-context plugin
This commit is contained in:
parent
417fb2b9b6
commit
94de21bc88
11
nvim/lua/custom/plugins/nvim-treesitter-context.lua
Normal file
11
nvim/lua/custom/plugins/nvim-treesitter-context.lua
Normal file
@ -0,0 +1,11 @@
|
||||
-- Display context that has scrolled off the top of the screen.
|
||||
-- For example, signature of the current function, or if-case.
|
||||
-- https://github.com/nvim-treesitter/nvim-treesitter-context
|
||||
return {
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter-context',
|
||||
opts = {
|
||||
max_lines = 5,
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue
Block a user