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)