@@ -258,6 +258,12 @@ require('treesj').setup({
use_default_keymaps = false,
})
+-- Treesitter context
+require('treesitter-context').setup({
+ enable = true,
+ multiline_threshold = 5,
+})
+
-- completion
local cmp = require('cmp')
local cmp_types = require('cmp.types')
@@ -92,5 +92,9 @@
"optional": true,
"rev": "3ba0c02c378503739f1fdb95cff3ea2aad48db3e",
"sha256": "0pvb25bdmx4hxs3g7pkdqfjg3qpnr9p5szzbqqwaw3lbdnbyykzy"
+ },
+ "nvim-treesitter/nvim-treesitter-context": {
+ "rev": "78a81c7494e7d1a08dd1200b556933e513fd9f29",
+ "sha256": "19vf1wlvi7nggwzawaqyp81jk8hp85xsg1nm9cgjzk9fvywddnpc"
}