about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-19 21:25:07 +0200
committerSoispha <soispha@vhack.eu>2023-08-19 21:25:07 +0200
commitbc19a3fd6605b22ab893fa7653c4dbaeff23d501 (patch)
tree3eaaf36ab6ed4de4df19ab813e5289afb00f940c
parentFix(hm/conf/neovim/plugins/lf): Add fg and bg highlight colors (diff)
downloadnixos-config-bc19a3fd6605b22ab893fa7653c4dbaeff23d501.tar.gz
nixos-config-bc19a3fd6605b22ab893fa7653c4dbaeff23d501.zip
Fix(hm/conf/neovim/plugins/lualine): Enable
Diffstat (limited to '')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/lualine/default.nix19
1 files changed, 14 insertions, 5 deletions
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?
+    ];
   };
 }