Skip to content

Commit

Permalink
Add nvim-treesitter-context
Browse files Browse the repository at this point in the history
  • Loading branch information
Shatur committed Jan 10, 2024
1 parent 80f2b60 commit f726fef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,7 @@
path = pack/plugins/start/pest.vim
url = [email protected]:pest-parser/pest.vim.git
ignore = dirty
[submodule "pack/plugins/start/nvim-treesitter-context"]
path = pack/plugins/start/nvim-treesitter-context
url = [email protected]:nvim-treesitter/nvim-treesitter-context.git
ignore = dirty
1 change: 1 addition & 0 deletions pack/plugins/start/nvim-treesitter-context
4 changes: 4 additions & 0 deletions plugin/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ require('nvim-treesitter.configs').setup({
},
},
})

require('treesitter-context').setup({
multiline_threshold = 1,
})

0 comments on commit f726fef

Please sign in to comment.