Files
nvim/lua/plugins/context.lua
T
warg 2dfec6f6ab feat(context): switch to context.vim
problems with if-else cases in zig when using nvim-treesitter-context
2024-07-13 21:41:07 +02:00

19 lines
582 B
Lua

---@type LazyPluginSpec
return {
"wellle/context.vim",
lazy = true,
event = "VimEnter",
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,
}