refactor(plugins/astroui): use icons from utils

This commit is contained in:
Nicolas Goudry 2024-06-07 22:53:57 +02:00
parent 208ee4fec2
commit f225a1f8db
No known key found for this signature in database
GPG key ID: 5FC434D9FFD1DF44
3 changed files with 1 additions and 64 deletions

View file

@ -1,8 +1,7 @@
# homepage: https://github.com/AstroNvim/astroui
{ helpers, lib, pkgs, ... }:
{ helpers, icons, lib, pkgs, ... }:
let
icons = import ./icons.nix;
status = import ./status;
in
{

View file

@ -1,61 +0,0 @@
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astroui.lua#L7-L66
{
ActiveLSP = "";
ActiveTS = "";
ArrowLeft = "";
ArrowRight = "";
Bookmarks = "";
BufferClose = "󰅖";
DapBreakpoint = "";
DapBreakpointCondition = "";
DapBreakpointRejected = "";
DapLogPoint = "󰛿";
DapStopped = "󰁕";
Debugger = "";
DefaultFile = "󰈙";
Diagnostic = "󰒡";
DiagnosticError = "";
DiagnosticHint = "󰌵";
DiagnosticInfo = "󰋼";
DiagnosticWarn = "";
Ellipsis = "";
Environment = "";
FileNew = "";
FileModified = "";
FileReadOnly = "";
FoldClosed = "";
FoldOpened = "";
FoldSeparator = " ";
FolderClosed = "";
FolderEmpty = "";
FolderOpen = "";
Git = "󰊢";
GitAdd = "";
GitBranch = "";
GitChange = "";
GitConflict = "";
GitDelete = "";
GitIgnored = "";
GitRenamed = "";
GitSign = "";
GitStaged = "";
GitUnstaged = "";
GitUntracked = "";
LSPLoading1 = "";
LSPLoading2 = "󰀚";
LSPLoading3 = "";
MacroRecording = "";
Package = "󰏖";
Paste = "󰅌";
Refresh = "";
Search = "";
Selected = "";
Session = "󱂬";
Sort = "󰒺";
Spellcheck = "󰓆";
Tab = "󰓩";
TabClose = "󰅙";
Terminal = "";
Window = "";
WordFile = "󰈭";
}

View file

@ -3,7 +3,6 @@
# Forced to use raw Lua value to avoid Nix transforming special chars to unicode sequence
__raw = ''
{
--findme
["n"] = { "NORMAL", "normal" },
["no"] = { "OP", "normal" },
["nov"] = { "OP", "normal" },