feat(nvim): add icons globals
This commit is contained in:
parent
e4d7402948
commit
d04ce5cca4
64
pkgs/nvim/config/icons.nix
Normal file
64
pkgs/nvim/config/icons.nix
Normal 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 = " ";
|
||||||
|
};
|
||||||
|
}
|
@ -5,9 +5,10 @@
|
|||||||
}: let
|
}: let
|
||||||
system = pkgs.system;
|
system = pkgs.system;
|
||||||
nixvim = inputs.nixvim.legacyPackages.${system};
|
nixvim = inputs.nixvim.legacyPackages.${system};
|
||||||
|
icons = import ./config/icons.nix;
|
||||||
nixvimModule = {
|
nixvimModule = {
|
||||||
inherit pkgs;
|
pkgs = inputs.unstable.legacyPackages.${system};
|
||||||
module = import ./config;
|
module = import ./config;
|
||||||
extraSpecialArgs = {};
|
extraSpecialArgs = {inherit icons;};
|
||||||
};
|
};
|
||||||
in (nixvim.makeNixvimWithModule nixvimModule)
|
in (nixvim.makeNixvimWithModule nixvimModule)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user