about summary refs log tree commit diff stats
diff options
context:
space:
mode:
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?
+    ];
   };
 }