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
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require("lazy").setup({
|
||||
local lazy = require("lazy")
|
||||
|
||||
local plugins = {
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
@@ -187,4 +189,15 @@ require("lazy").setup({
|
||||
require("taken.plugins.lazy.keyseer")
|
||||
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 version = vim.version().major .. "." .. vim.version().minor .. "." .. vim.version().patch
|
||||
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 date = vim.fn.strftime("%d.%m.%Y")
|
||||
|
||||
@@ -68,11 +68,11 @@ db.setup({
|
||||
{
|
||||
icon = ' ',
|
||||
icon_hl = 'main',
|
||||
desc = 'Packer sync',
|
||||
desc = 'Lazy sync',
|
||||
desc_hl = 'main',
|
||||
key = 'P',
|
||||
key = 'l',
|
||||
key_hl = 'main',
|
||||
action = 'PackerSync',
|
||||
action = 'Lazy sync',
|
||||
},
|
||||
},
|
||||
footer = {
|
||||
|
||||
Reference in New Issue
Block a user