🚀 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",
|
"nvim-lualine/lualine.nvim",
|
||||||
|
optional = true,
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
local icon = require("lazyvim.config").icons.kinds.Codeium
|
local icon = require("lazyvim.config").icons.kinds.Codeium
|
||||||
local function show_codeium_status()
|
local function show_codeium_status()
|
||||||
|
|
|
@ -27,6 +27,7 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-lualine/lualine.nvim",
|
"nvim-lualine/lualine.nvim",
|
||||||
|
optional = true,
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
local function is_active()
|
local function is_active()
|
||||||
local ok, hydra = pcall(require, "hydra.statusline")
|
local ok, hydra = pcall(require, "hydra.statusline")
|
||||||
|
|
|
@ -26,6 +26,7 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-lualine/lualine.nvim",
|
"nvim-lualine/lualine.nvim",
|
||||||
|
optional = true,
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
table.insert(opts.sections.lualine_x, 1, require("recorder").displaySlots)
|
table.insert(opts.sections.lualine_x, 1, require("recorder").displaySlots)
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
return {
|
return {
|
||||||
"akinsho/bufferline.nvim",
|
"akinsho/bufferline.nvim",
|
||||||
|
optional = true,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"backdround/tabscope.nvim",
|
"backdround/tabscope.nvim",
|
||||||
opts = {},
|
opts = {},
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
return {
|
return {
|
||||||
"nvim-neo-tree/neo-tree.nvim",
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
|
optional = true,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"antosha417/nvim-lsp-file-operations",
|
"antosha417/nvim-lsp-file-operations",
|
||||||
opts = {},
|
opts = {},
|
||||||
|
|
|
@ -6,6 +6,7 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"folke/noice.nvim",
|
"folke/noice.nvim",
|
||||||
|
optional = true,
|
||||||
opts = {
|
opts = {
|
||||||
lsp = {
|
lsp = {
|
||||||
progress = {
|
progress = {
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
|
|
||||||
"luukvbaal/statuscol.nvim",
|
"luukvbaal/statuscol.nvim",
|
||||||
event = { "LazyFile" },
|
event = { "LazyFile" },
|
||||||
opts = function()
|
opts = function()
|
||||||
|
|
Loading…
Add table
Reference in a new issue