1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-03 07:31:05 +01:00

colorschemes/onedark: migrate to by-name

This commit is contained in:
Heitor Augusto 2025-11-02 19:46:48 -03:00
parent 13f8fc39fb
commit 1e4d773a63
No known key found for this signature in database
GPG key ID: 3EEC05B0024AF8A4
3 changed files with 0 additions and 1 deletions

View file

@ -1,73 +0,0 @@
{
empty = {
colorschemes.onedark.enable = true;
};
example = {
colorschemes.onedark = {
enable = true;
settings = {
colors = {
bright_orange = "#ff8800";
green = "#00ffaa";
};
highlights = {
"@keyword".fg = "$green";
"@string" = {
fg = "$bright_orange";
bg = "#00ff00";
fmt = "bold";
};
"@function" = {
fg = "#0000ff";
sp = "$cyan";
fmt = "underline,italic";
};
"@function.builtin".fg = "#0059ff";
};
};
};
};
defaults = {
colorschemes.onedark = {
enable = true;
settings = {
style = "dark";
transparent = false;
term_colors = true;
ending_tildes = false;
cmp_itemkind_reverse = false;
toggle_style_key.__raw = "nil";
toggle_style_list = [
"dark"
"darker"
"cool"
"deep"
"warm"
"warmer"
"light"
];
code_style = {
comments = "italic";
keywords = "none";
functions = "none";
strings = "none";
variables = "none";
};
lualine = {
transparent = false;
};
colors.__empty = { };
highlights.__empty = { };
diagnostics = {
darker = true;
undercurl = true;
background = true;
};
};
};
};
}