From 0580fd54dcdcfe0d5a12f8c774aa8cae5db4e339 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 22 Jul 2023 09:22:46 +0100 Subject: [PATCH] feat(nvim): configure lualine --- config/neovim/after/plugin/lualine.lua | 16 +++++++++++++++- home-manager/modules/common.nix | 2 ++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/config/neovim/after/plugin/lualine.lua b/config/neovim/after/plugin/lualine.lua index fdf27a1..dab4c63 100644 --- a/config/neovim/after/plugin/lualine.lua +++ b/config/neovim/after/plugin/lualine.lua @@ -3,4 +3,18 @@ if not status_ok then return end -lualine.setup {} +lualine.setup { + options = { + component_separators = { left = "", right = "" }, + extensions = { "fzf", "quickfix" }, + icons_enabled = false, + section_separators = { left = "", right = "" }, + theme = "catppuccin", + }, + sections = { + lualine_c = { + "filename", + "lsp_progress", + }, + }, +} diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 6f9ce6c..b96f89a 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -121,6 +121,8 @@ in vimPlugins.harpoon vimPlugins.impatient-nvim vimPlugins.indent-blankline-nvim + vimPlugins.lualine-lsp-progress + vimPlugins.lualine-nvim vimPlugins.nvim-autopairs vimPlugins.nvim-lastplace vimPlugins.nvim-ts-autotag