refactor(plugins): simplify user plugin configuration
This commit is contained in:
1 parent
7e55435b39
commit
0bef2ff9f1
1 file changed
+5
-22
+5
-22
@@ -6,27 +6,10 @@
|
|||||||
---@type LazySpec
|
---@type LazySpec
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"basola21/PDFview",
|
"sphamba/smear-cursor.nvim",
|
||||||
lazy = false,
|
opts = {
|
||||||
dependencies = { "nvim-telescope/telescope.nvim" }
|
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"tomfordweb/beads.nvim",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-telescope/telescope.nvim",
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
require("beads").setup({ keymaps = true })
|
|
||||||
require("telescope").load_extension("beads")
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'adelarsq/image_preview.nvim',
|
|
||||||
event = 'VeryLazy',
|
|
||||||
config = function()
|
|
||||||
require("image_preview").setup()
|
|
||||||
end
|
|
||||||
},
|
},
|
||||||
|
|
||||||
-- customize dashboard options
|
-- customize dashboard options
|
||||||
@@ -71,7 +54,7 @@ return {
|
|||||||
action = function()
|
action = function()
|
||||||
vim.ui.open("https://github.com/notifications")
|
vim.ui.open("https://github.com/notifications")
|
||||||
end,
|
end,
|
||||||
key = "n",
|
key = "N",
|
||||||
icon = " ",
|
icon = " ",
|
||||||
height = 5,
|
height = 5,
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
|||||||
Reference in new issue
Block a user