astro-nvim-v3 - Update: add context function for neo
This commit is contained in:
22
lua/plugins/nvim-context-vt.lua
Normal file
22
lua/plugins/nvim-context-vt.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
---@type LazySpec
|
||||
return {
|
||||
"andersevenrud/nvim_context_vt",
|
||||
event = "User AstroFile",
|
||||
cmd = { "NvimContextVtToggle" },
|
||||
dependencies = {
|
||||
"AstroNvim/astrocore",
|
||||
---@type AstroCoreOpts
|
||||
opts = {
|
||||
mappings = {
|
||||
n = {
|
||||
["<Leader>uv"] = {
|
||||
function()
|
||||
require("nvim_context_vt").toggle()
|
||||
end,
|
||||
desc = "Toggle virutal text context",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user