mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 09:01:16 +00:00
statusline and exlcude lazylock
This commit is contained in:
parent
905375ff1a
commit
3836361bfe
4 changed files with 27 additions and 4 deletions
|
|
@ -48,6 +48,7 @@ for _, plugin in ipairs(disabled_plugins) do
|
|||
end
|
||||
|
||||
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
|
||||
local lazylock = vim.fn.stdpath('state') .. '/lazy-lock.json'
|
||||
if not vim.uv.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
'git',
|
||||
|
|
@ -63,4 +64,5 @@ vim.opt.rtp:prepend(lazypath)
|
|||
require('lazy').setup('plugins', {
|
||||
defaults = { lazy = false },
|
||||
change_detection = { enabled = false },
|
||||
lockfile = lazylock,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -36,9 +36,9 @@ return {
|
|||
lualine_a = { "mode" },
|
||||
lualine_b = { "FugitiveHead", "diff" },
|
||||
lualine_c = { { "filename", path = 0 } },
|
||||
lualine_x = { "diagnostics" },
|
||||
lualine_y = { "filetype" },
|
||||
lualine_z = { theme_status, "progress" },
|
||||
lualine_x = {},
|
||||
lualine_y = {},
|
||||
lualine_z = { "progress" },
|
||||
},
|
||||
}
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue