mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
Enable treesitter-context
This commit is contained in:
parent
32c9626053
commit
7f7873536d
1 changed files with 5 additions and 2 deletions
|
|
@ -1,7 +1,10 @@
|
|||
return {
|
||||
"nvim-treesitter/nvim-treesitter-context",
|
||||
-- event = "LazyFile",
|
||||
opts = { mode = "cursor", max_lines = 3 },
|
||||
event = "BufReadPost",
|
||||
opts = {
|
||||
mode = "topline", -- default is 'cursor'
|
||||
max_lines = 3,
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>ut",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue