From bc19a3fd6605b22ab893fa7653c4dbaeff23d501 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 19 Aug 2023 21:25:07 +0200 Subject: Fix(hm/conf/neovim/plugins/lualine): Enable --- .../config/neovim/nixvim/plugins/lualine/default.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'home-manager') diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/lualine/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/lualine/default.nix index 2c95b562..e60e35f0 100644 --- a/home-manager/soispha/config/neovim/nixvim/plugins/lualine/default.nix +++ b/home-manager/soispha/config/neovim/nixvim/plugins/lualine/default.nix @@ -46,6 +46,7 @@ ''; }; in { + enable = true; iconsEnabled = true; theme = "nightfox"; componentSeparators = { @@ -60,7 +61,7 @@ statusline = []; winbar = []; }; - ignoreFocus = {}; + ignoreFocus = []; alwaysDivideMiddle = true; globalstatus = false; refresh = { @@ -80,14 +81,19 @@ ]; lualine_c = ["filename"]; lualine_x = ["searchcount" "filetype"]; - lualine_y = ["encoding" "fileformat" get_mixed_indent get_trailing_whitespace]; - lualine_z = [get_location_of_file]; + lualine_y = [ + "encoding" + "fileformat" + {name = get_mixed_indent;} + {name = get_trailing_whitespace;} + ]; + lualine_z = [{name = get_location_of_file;}]; }; inactiveSections = { lualine_a = []; lualine_b = []; lualine_c = ["filename"]; - lualine_x = [get_location_of_file]; + lualine_x = [{name = get_location_of_file;}]; lualine_y = []; lualine_z = []; }; @@ -96,6 +102,9 @@ inactiveWinbar = {}; # TODO add all installed and supported extensions here - extensions = ["fugitive"]; + extensions = [ + "toggleterm" + # "fugitive" # TODO maybe add this? + ]; }; } -- cgit 1.4.1