feat: enhance statusline with icon and text concatenation
This commit is contained in:
@@ -54,5 +54,11 @@ return {
|
||||
opts = data.types.avante,
|
||||
build = "make",
|
||||
dependencies = data.deps.avante,
|
||||
keys = function()
|
||||
-- Add keymaps for Avante group
|
||||
for _, item in ipairs(data.keys.group.avante) do
|
||||
data.func.add_keymap(item)
|
||||
end
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -27,6 +27,9 @@ return {
|
||||
{ -- Navic
|
||||
import = "lazyvim.plugins.extras.editor.navic",
|
||||
},
|
||||
{ -- Refactoring
|
||||
import = "lazyvim.plugins.extras.editor.refactoring",
|
||||
},
|
||||
{ -- Trouble
|
||||
"folke/trouble.nvim",
|
||||
cmd = data.cmd.trouble,
|
||||
@@ -37,7 +40,7 @@ return {
|
||||
opts = data.types.flash,
|
||||
keys = data.keys.flash,
|
||||
},
|
||||
{
|
||||
{ -- NeoTree
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
opts = data.types.neotree.opts,
|
||||
},
|
||||
@@ -145,9 +148,9 @@ return {
|
||||
end,
|
||||
keys = data.keys.undotree,
|
||||
},
|
||||
{ -- NumberToggle
|
||||
"sitiom/nvim-numbertoggle",
|
||||
},
|
||||
-- { -- NumberToggle
|
||||
-- "sitiom/nvim-numbertoggle",
|
||||
-- },
|
||||
{ -- Noice
|
||||
"folke/noice.nvim",
|
||||
optional = true,
|
||||
|
||||
+13
-13
@@ -7,19 +7,6 @@
|
||||
local data = require("data")
|
||||
|
||||
local P = { -- Define Telescope Plugins Specs
|
||||
{ -- Telescope Cmdline
|
||||
"nvim-telescope/telescope.nvim",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"jonarrien/telescope-cmdline.nvim",
|
||||
},
|
||||
keys = data.keys.telescope.cmdline,
|
||||
opts = data.types.telescope.cmdline,
|
||||
config = function(_, opts)
|
||||
require("telescope").setup(opts)
|
||||
require("telescope").load_extension("cmdline")
|
||||
end,
|
||||
},
|
||||
{ -- Telescope All Recent
|
||||
"prochri/telescope-all-recent.nvim",
|
||||
dependencies = {
|
||||
@@ -178,6 +165,19 @@ local P = { -- Define Telescope Plugins Specs
|
||||
"sindrets/diffview.nvim",
|
||||
},
|
||||
},
|
||||
{ -- Fzf Lua
|
||||
"ibhagwan/fzf-lua",
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
|
||||
if require("data.func").check_global_var("use_telescope", false, true) then
|
||||
P = { { import = "lazyvim.plugins.extras.editor.fzf" } }
|
||||
end
|
||||
|
||||
if require("data.func").check_global_var("use_fzf_lua", true, false) then
|
||||
table.insert(P, 1, { import = "lazyvim.plugins.extras.editor.fzf" })
|
||||
table.insert(P, 2, { "ibhagwan/fzf-lua", lazy = false, opts = {} })
|
||||
end
|
||||
|
||||
return P
|
||||
|
||||
Reference in New Issue
Block a user