mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-12 12:01:10 +01:00
tests: use __empty and __raw
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
aa3a1dfb02
commit
02b73edd9a
200 changed files with 733 additions and 718 deletions
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
settings = {
|
||||
mirage = false;
|
||||
|
||||
# FIXME: this can't be empty due to raw coercion
|
||||
overrides = { };
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -28,19 +28,22 @@
|
|||
styles = {
|
||||
comments = [ "italic" ];
|
||||
conditionals = [ "italic" ];
|
||||
loops = [ ];
|
||||
functions = [ ];
|
||||
keywords = [ ];
|
||||
strings = [ ];
|
||||
variables = [ ];
|
||||
numbers = [ ];
|
||||
booleans = [ ];
|
||||
properties = [ ];
|
||||
types = [ ];
|
||||
operators = [ ];
|
||||
loops.__empty = { };
|
||||
functions.__empty = { };
|
||||
keywords.__empty = { };
|
||||
strings.__empty = { };
|
||||
variables.__empty = { };
|
||||
numbers.__empty = { };
|
||||
booleans.__empty = { };
|
||||
properties.__empty = { };
|
||||
types.__empty = { };
|
||||
operators.__empty = { };
|
||||
};
|
||||
color_overrides = { };
|
||||
color_overrides.__empty = { };
|
||||
|
||||
# FIXME: this can't be __empty due to raw coercion
|
||||
custom_highlights = { };
|
||||
|
||||
default_integrations = true;
|
||||
integrations = {
|
||||
alpha = true;
|
||||
|
|
@ -123,9 +126,9 @@
|
|||
mantle = "#242424";
|
||||
crust = "#474747";
|
||||
};
|
||||
frappe = { };
|
||||
macchiato = { };
|
||||
mocha = { };
|
||||
frappe.__empty = { };
|
||||
macchiato.__empty = { };
|
||||
mocha.__empty = { };
|
||||
};
|
||||
styles = {
|
||||
booleans = [
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
terminal_colors = true;
|
||||
|
||||
theme = {
|
||||
highlights = { };
|
||||
colors = { };
|
||||
highlights.__empty = { };
|
||||
colors.__empty = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
inlay_hints_background = "none";
|
||||
disable_terminal_colors = 0;
|
||||
lightline_disable_bold = 0;
|
||||
colors_override = { };
|
||||
colors_override.__raw = "nil";
|
||||
|
||||
# This option is broken when set to 1, because the plugin tries to write its cache in /nix/store
|
||||
better_performance = 0;
|
||||
|
|
|
|||
|
|
@ -40,14 +40,14 @@
|
|||
floats = true;
|
||||
sidebars = {
|
||||
enable = true;
|
||||
list = [ ];
|
||||
list.__empty = { };
|
||||
};
|
||||
};
|
||||
modules = [ ];
|
||||
modules.__empty = { };
|
||||
};
|
||||
palettes = [ ];
|
||||
specs = [ ];
|
||||
groups = [ ];
|
||||
palettes.__empty = { };
|
||||
specs.__empty = { };
|
||||
groups.__empty = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ _: {
|
|||
string_style = "nocombine";
|
||||
function_style = "bold";
|
||||
variable_style = "NONE";
|
||||
highlights = { };
|
||||
color_overrides = { };
|
||||
highlights.__empty = { };
|
||||
color_overrides.__empty = { };
|
||||
use_original_palette = 0;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -19,13 +19,13 @@
|
|||
};
|
||||
float = {
|
||||
force_background = false;
|
||||
background_color = null;
|
||||
background_color.__raw = "nil";
|
||||
};
|
||||
signs = {
|
||||
force_background = false;
|
||||
background_color = null;
|
||||
background_color.__raw = "nil";
|
||||
};
|
||||
customize = null;
|
||||
customize.__raw = "nil";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
};
|
||||
signs = {
|
||||
force_background = false;
|
||||
background_color = null;
|
||||
background_color.__raw = "nil";
|
||||
};
|
||||
customize = lib.nixvim.mkRaw ''
|
||||
function(g, o)
|
||||
|
|
|
|||
|
|
@ -15,10 +15,10 @@
|
|||
settings = {
|
||||
cache = false;
|
||||
colors = {
|
||||
palette = { };
|
||||
palette.__empty = { };
|
||||
theme = {
|
||||
ink = { };
|
||||
canvas = { };
|
||||
ink.__empty = { };
|
||||
canvas.__empty = { };
|
||||
};
|
||||
};
|
||||
undercurl = true;
|
||||
|
|
|
|||
|
|
@ -13,14 +13,14 @@
|
|||
commentStyle = {
|
||||
italic = true;
|
||||
};
|
||||
functionStyle = { };
|
||||
functionStyle.__empty = { };
|
||||
keywordStyle = {
|
||||
italic = true;
|
||||
};
|
||||
statementStyle = {
|
||||
bold = true;
|
||||
};
|
||||
typeStyle = { };
|
||||
typeStyle.__empty = { };
|
||||
transparent = false;
|
||||
dimInactive = false;
|
||||
terminalColors = true;
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
styles = {
|
||||
comments.italic = true;
|
||||
keywords.italic = true;
|
||||
functions = { };
|
||||
variables = { };
|
||||
functions.__empty = { };
|
||||
variables.__empty = { };
|
||||
};
|
||||
on_colors = "function(colors) end";
|
||||
on_highlights = "function(highlights, colors) end";
|
||||
|
|
|
|||
|
|
@ -62,9 +62,9 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
palettes = { };
|
||||
specs = { };
|
||||
groups = { };
|
||||
palettes.__empty = { };
|
||||
specs.__empty = { };
|
||||
groups.__empty = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
term_colors = true;
|
||||
ending_tildes = false;
|
||||
cmp_itemkind_reverse = false;
|
||||
toggle_style_key = null;
|
||||
toggle_style_key.__raw = "nil";
|
||||
toggle_style_list = [
|
||||
"dark"
|
||||
"darker"
|
||||
|
|
@ -60,8 +60,8 @@
|
|||
lualine = {
|
||||
transparent = false;
|
||||
};
|
||||
colors = { };
|
||||
highlights = { };
|
||||
colors.__empty = { };
|
||||
highlights.__empty = { };
|
||||
diagnostics = {
|
||||
darker = true;
|
||||
undercurl = true;
|
||||
|
|
|
|||
|
|
@ -14,9 +14,9 @@
|
|||
state = "pastel";
|
||||
};
|
||||
custom_palettes = {
|
||||
main = { };
|
||||
accent = { };
|
||||
state = { };
|
||||
main.__empty = { };
|
||||
accent.__empty = { };
|
||||
state.__empty = { };
|
||||
};
|
||||
italics = true;
|
||||
transparent_background = false;
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
h6 = "blue2";
|
||||
};
|
||||
};
|
||||
highlight_groups = { };
|
||||
highlight_groups.__empty = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@
|
|||
styles = {
|
||||
comments.italic = true;
|
||||
keywords.italic = true;
|
||||
functions = { };
|
||||
variables = { };
|
||||
functions.__empty = { };
|
||||
variables.__empty = { };
|
||||
sidebars = "dark";
|
||||
floats = "dark";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@
|
|||
styles = {
|
||||
comments.italic = true;
|
||||
keywords.italic = true;
|
||||
functions = { };
|
||||
variables = { };
|
||||
functions.__empty = { };
|
||||
variables.__empty = { };
|
||||
sidebars = "dark";
|
||||
floats = "dark";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue