From 8f76c7ce7c2711e6e10aacf065010d98e18c5e85 Mon Sep 17 00:00:00 2001 From: zackartz Date: Wed, 13 Mar 2024 14:15:26 -0400 Subject: [PATCH] 187 current 2024-03-13 14:15:18 24.05.20240309.3030f18 6.7.9-zen1 * --- modules/home-manager/vim.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/home-manager/vim.nix b/modules/home-manager/vim.nix index 4e1123e..4ff0548 100644 --- a/modules/home-manager/vim.nix +++ b/modules/home-manager/vim.nix @@ -447,13 +447,9 @@ local tokyonight = require("lualine.themes.tokyonight") - - local icons = {} local sources = {} - local fmt = function(icon, text, space) return M.icons[icon] .. string.rep(" ", space or 1) .. text end - - icons = { + local icons = { Vim = "", Config = "", Normal = "󰡛", @@ -559,6 +555,8 @@ Download = "󰇚", } + local fmt = function(icon, text, space) return icons[icon] .. string.rep(" ", space or 1) .. text end + sources.mode = { "mode", fmt = function(name)