plugin/theme: setup lualine plugin

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-17 00:39:24 +03:00
parent d4620d3d6e
commit f0ebb7f846
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
2 changed files with 25 additions and 3 deletions

View file

@ -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
View 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" },
},
})