plugin/theme: setup lualine plugin
This commit is contained in:
parent
d4620d3d6e
commit
f0ebb7f846
2 changed files with 25 additions and 3 deletions
|
@ -1,7 +1,13 @@
|
||||||
{ catppuccin-nvim, ... }:
|
{ catppuccin-nvim, lualine-nvim, lualine-lsp-progress, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
luaConfig = builtins.readFile ./catppuccin-nvim.lua;
|
luaConfig = (builtins.readFile ./catppuccin-nvim.lua)
|
||||||
|
+ (builtins.readFile ./lualine.lua);
|
||||||
|
|
||||||
plugins = [ catppuccin-nvim ];
|
plugins = [
|
||||||
|
catppuccin-nvim
|
||||||
|
|
||||||
|
lualine-nvim
|
||||||
|
lualine-lsp-progress
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
16
plugins/theme/lualine.lua
Normal file
16
plugins/theme/lualine.lua
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
-- See: https://github.com/nvim-lualine/lualine.nvim#default-configuration
|
||||||
|
require("lualine").setup({
|
||||||
|
options = {
|
||||||
|
ignore_focus = { "NvimTree" },
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_a = {
|
||||||
|
{ "filename", path = 1 },
|
||||||
|
},
|
||||||
|
lualine_b = { "branch", "diff", "diagnostics" },
|
||||||
|
lualine_c = { "lsp_progress" },
|
||||||
|
lualine_x = { "filesize", "filetype" },
|
||||||
|
lualine_y = { "progress" },
|
||||||
|
lualine_z = { "location", "mode" },
|
||||||
|
},
|
||||||
|
})
|
Reference in a new issue