Updating plugins to use lazy nvim
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -11,7 +11,9 @@ if not vim.loop.fs_stat(lazypath) then
|
|||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
require("lazy").setup({
|
local lazy = require("lazy")
|
||||||
|
|
||||||
|
local plugins = {
|
||||||
{
|
{
|
||||||
"catppuccin/nvim",
|
"catppuccin/nvim",
|
||||||
name = "catppuccin",
|
name = "catppuccin",
|
||||||
@@ -187,4 +189,15 @@ require("lazy").setup({
|
|||||||
require("taken.plugins.lazy.keyseer")
|
require("taken.plugins.lazy.keyseer")
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
})
|
}
|
||||||
|
|
||||||
|
local opts = {
|
||||||
|
dev = {
|
||||||
|
path = "~/git/nvim",
|
||||||
|
},
|
||||||
|
checker = {
|
||||||
|
enabled = true,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
lazy.setup(plugins, opts)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ end
|
|||||||
local stats = require("lazy").stats()
|
local stats = require("lazy").stats()
|
||||||
local version = vim.version().major .. "." .. vim.version().minor .. "." .. vim.version().patch
|
local version = vim.version().major .. "." .. vim.version().minor .. "." .. vim.version().patch
|
||||||
local plugins_count = stats.count
|
local plugins_count = stats.count
|
||||||
local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100)
|
local ms = math.floor(stats.startuptime + 0.5)
|
||||||
local time = vim.fn.strftime("%H:%M:%S")
|
local time = vim.fn.strftime("%H:%M:%S")
|
||||||
local date = vim.fn.strftime("%d.%m.%Y")
|
local date = vim.fn.strftime("%d.%m.%Y")
|
||||||
|
|
||||||
@@ -68,11 +68,11 @@ db.setup({
|
|||||||
{
|
{
|
||||||
icon = ' ',
|
icon = ' ',
|
||||||
icon_hl = 'main',
|
icon_hl = 'main',
|
||||||
desc = 'Packer sync',
|
desc = 'Lazy sync',
|
||||||
desc_hl = 'main',
|
desc_hl = 'main',
|
||||||
key = 'P',
|
key = 'l',
|
||||||
key_hl = 'main',
|
key_hl = 'main',
|
||||||
action = 'PackerSync',
|
action = 'Lazy sync',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
footer = {
|
footer = {
|
||||||
|
|||||||
Reference in New Issue
Block a user