🚀 perf(nvim): make some plugins optional
This commit is contained in:
parent
e98d41f3e3
commit
2fadaab606
7 changed files with 6 additions and 1 deletions
|
@ -39,6 +39,7 @@ return {
|
|||
},
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
optional = true,
|
||||
opts = function(_, opts)
|
||||
local icon = require("lazyvim.config").icons.kinds.Codeium
|
||||
local function show_codeium_status()
|
||||
|
|
|
@ -27,6 +27,7 @@ return {
|
|||
},
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
optional = true,
|
||||
opts = function(_, opts)
|
||||
local function is_active()
|
||||
local ok, hydra = pcall(require, "hydra.statusline")
|
||||
|
|
|
@ -26,6 +26,7 @@ return {
|
|||
},
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
optional = true,
|
||||
opts = function(_, opts)
|
||||
table.insert(opts.sections.lualine_x, 1, require("recorder").displaySlots)
|
||||
end,
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"akinsho/bufferline.nvim",
|
||||
optional = true,
|
||||
dependencies = {
|
||||
"backdround/tabscope.nvim",
|
||||
opts = {},
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
optional = true,
|
||||
dependencies = {
|
||||
"antosha417/nvim-lsp-file-operations",
|
||||
opts = {},
|
||||
|
|
|
@ -6,6 +6,7 @@ return {
|
|||
},
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
optional = true,
|
||||
opts = {
|
||||
lsp = {
|
||||
progress = {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
return {
|
||||
{
|
||||
|
||||
"luukvbaal/statuscol.nvim",
|
||||
event = { "LazyFile" },
|
||||
opts = function()
|
||||
|
|
Loading…
Add table
Reference in a new issue