feat(nvim): add icons globals

This commit is contained in:
Michael Thomas 2024-06-13 01:20:27 +02:00
parent e4d7402948
commit d04ce5cca4
2 changed files with 67 additions and 2 deletions

View File

@ -0,0 +1,64 @@
{
misc = {
dots = "󰇘";
};
dap = {
Stopped = ["󰁕 " "DiagnosticWarn" "DapStoppedLine"];
Breakpoint = " ";
BreakpointCondition = " ";
BreakpointRejected = [" " "DiagnosticError"];
LogPoint = ".>";
};
diagnostics = {
Error = " ";
Warn = " ";
Hint = " ";
Info = " ";
};
git = {
added = " ";
modified = " ";
removed = " ";
};
kinds = {
Array = " ";
Boolean = "󰨙 ";
Class = " ";
Codeium = "󰘦 ";
Color = " ";
Control = " ";
Collapsed = " ";
Constant = "󰏿 ";
Constructor = " ";
Copilot = " ";
Enum = " ";
EnumMember = " ";
Event = " ";
Field = " ";
File = " ";
Folder = " ";
Function = "󰊕 ";
Interface = " ";
Key = " ";
Keyword = " ";
Method = "󰊕 ";
Module = " ";
Namespace = "󰦮 ";
Null = " ";
Number = "󰎠 ";
Object = " ";
Operator = " ";
Package = " ";
Property = " ";
Reference = " ";
Snippet = " ";
String = " ";
Struct = "󰆼 ";
TabNine = "󰏚 ";
Text = " ";
TypeParameter = " ";
Unit = " ";
Value = " ";
Variable = "󰀫 ";
};
}

View File

@ -5,9 +5,10 @@
}: let
system = pkgs.system;
nixvim = inputs.nixvim.legacyPackages.${system};
icons = import ./config/icons.nix;
nixvimModule = {
inherit pkgs;
pkgs = inputs.unstable.legacyPackages.${system};
module = import ./config;
extraSpecialArgs = {};
extraSpecialArgs = {inherit icons;};
};
in (nixvim.makeNixvimWithModule nixvimModule)