mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
nvim/lua/user/plugins: lazy-load more UI and editor plugins
This commit is contained in:
parent
3e73c3349b
commit
f56905441c
4 changed files with 10 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
return {
|
return {
|
||||||
'kevinhwang91/nvim-ufo',
|
'kevinhwang91/nvim-ufo',
|
||||||
|
event = "BufEnter",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'kevinhwang91/promise-async',
|
'kevinhwang91/promise-async',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ local icons = require('user.icons')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'saghen/blink.cmp',
|
'saghen/blink.cmp',
|
||||||
lazy = false,
|
event = "InsertEnter",
|
||||||
version = "1.*",
|
version = "1.*",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "xzbdmw/colorful-menu.nvim" },
|
{ "xzbdmw/colorful-menu.nvim" },
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ return {
|
||||||
-- Icons
|
-- Icons
|
||||||
{
|
{
|
||||||
'nvim-tree/nvim-web-devicons',
|
'nvim-tree/nvim-web-devicons',
|
||||||
|
lazy = true,
|
||||||
opts = {
|
opts = {
|
||||||
override = {
|
override = {
|
||||||
php = {
|
php = {
|
||||||
|
|
@ -62,8 +63,12 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
select = {
|
select = {
|
||||||
backend = { "telescope" },
|
get_config = function(_)
|
||||||
telescope = require("telescope.themes").get_dropdown(ui.dropdown),
|
return {
|
||||||
|
backend = 'telescope',
|
||||||
|
telescope = require("telescope.themes").get_dropdown(ui.dropdown)
|
||||||
|
}
|
||||||
|
end
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,7 @@ local options = {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'nvim-tree/nvim-tree.lua',
|
'nvim-tree/nvim-tree.lua',
|
||||||
|
cmd = "NvimTreeFocus",
|
||||||
opts = options,
|
opts = options,
|
||||||
config = function (_, opts)
|
config = function (_, opts)
|
||||||
require('nvim-tree').setup(opts)
|
require('nvim-tree').setup(opts)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue