feat: replace context.vim with nvim-treesitter-context plugin

This commit is contained in:
2025-04-09 03:47:49 +02:00
parent 08a8609339
commit c29d79d2d1
2 changed files with 7 additions and 16 deletions
-16
View File
@@ -1,16 +0,0 @@
---@type LazyPluginSpec
return {
"wellle/context.vim",
init = function()
vim.g.context_enabled = true
vim.g.context_add_mappings = true
vim.g.context_add_autocmds = true
vim.g.context_presenter = "nvim-float"
vim.g.context_max_height = 10
vim.g.context_ellipsis_char = "·"
vim.g.context_border_char = ""
vim.g.context_highlight_normal = "TreesitterContext"
vim.g.context_highlight_border = "<hide>"
vim.g.context_highlight_tag = "<hide>"
end,
}
+7
View File
@@ -0,0 +1,7 @@
---@type LazyPluginSpec
return {
"nvim-treesitter/nvim-treesitter-context",
opts = {
mode = 'topline',
},
}