mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-24 21:41:04 +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 {
|
return {
|
||||||
"nvim-treesitter/nvim-treesitter-context",
|
"nvim-treesitter/nvim-treesitter-context",
|
||||||
-- event = "LazyFile",
|
event = "BufReadPost",
|
||||||
opts = { mode = "cursor", max_lines = 3 },
|
opts = {
|
||||||
|
mode = "topline", -- default is 'cursor'
|
||||||
|
max_lines = 3,
|
||||||
|
},
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
"<leader>ut",
|
"<leader>ut",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue