diff --git a/plugins/theme/default.nix b/plugins/theme/default.nix index 123027c..7a70e5b 100644 --- a/plugins/theme/default.nix +++ b/plugins/theme/default.nix @@ -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 + ]; } diff --git a/plugins/theme/lualine.lua b/plugins/theme/lualine.lua new file mode 100644 index 0000000..f04993b --- /dev/null +++ b/plugins/theme/lualine.lua @@ -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" }, + }, +})