Add dressing and lualine plugins
This commit is contained in:
parent
053816706e
commit
ecec0c4c56
3 changed files with 43 additions and 0 deletions
14
lua/custom/lualine.lua
Normal file
14
lua/custom/lualine.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
require("lualine").setup({
|
||||||
|
options = {
|
||||||
|
theme = "gruvbox-material",
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_c = {
|
||||||
|
{
|
||||||
|
"filename",
|
||||||
|
file_status = true,
|
||||||
|
path = 2,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
4
lua/custom/plugins/dressing.lua
Normal file
4
lua/custom/plugins/dressing.lua
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
return {
|
||||||
|
"stevearc/dressing.nvim",
|
||||||
|
event = "VeryLazy"
|
||||||
|
}
|
25
lua/custom/plugins/lualine.lua
Normal file
25
lua/custom/plugins/lualine.lua
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
return {
|
||||||
|
"nvim-lualine/lualine.nvim",
|
||||||
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
|
config = function()
|
||||||
|
local lualine = require("lualine")
|
||||||
|
-- configure lualine with modified theme
|
||||||
|
lualine.setup({
|
||||||
|
options = {
|
||||||
|
-- theme = "tokyonight",
|
||||||
|
-- theme = "catppuccin-mocha",
|
||||||
|
theme = "gruvbox-material",
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_c = {
|
||||||
|
{
|
||||||
|
"filename",
|
||||||
|
file_status = true,
|
||||||
|
path = 2,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue