mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
colorschemes/tokyonight: migrate to by-name
This commit is contained in:
parent
204f7646b8
commit
467013b45c
5 changed files with 0 additions and 72 deletions
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "vscode";
|
||||
isColorscheme = true;
|
||||
package = "vscode-nvim";
|
||||
colorscheme = null; # Color scheme is set by `require.("vscode").load()`
|
||||
callSetup = false;
|
||||
|
||||
maintainers = [ lib.maintainers.loicreynier ];
|
||||
|
||||
settingsExample = {
|
||||
transparent = true;
|
||||
italic_comments = true;
|
||||
italic_inlayhints = true;
|
||||
underline_links = true;
|
||||
terminal_colors = true;
|
||||
color_overrides = {
|
||||
vscLineNumber = "#FFFFFF";
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
colorschemes.vscode.luaConfig.content = ''
|
||||
local _vscode = require("vscode")
|
||||
_vscode.setup(${lib.nixvim.toLuaObject cfg.settings})
|
||||
_vscode.load()
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
@ -2,9 +2,6 @@
|
|||
imports = [
|
||||
./cmp
|
||||
|
||||
./colorschemes/tokyonight.nix
|
||||
./colorschemes/vscode.nix
|
||||
|
||||
./lsp
|
||||
|
||||
./pluginmanagers/lazy.nix
|
||||
|
|
|
|||
|
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
empty = {
|
||||
colorschemes.vscode.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
colorschemes.vscode = {
|
||||
enable = true;
|
||||
settings = {
|
||||
transparent = false;
|
||||
italic_comments = false;
|
||||
italic_inlayhints = false;
|
||||
underline_links = false;
|
||||
color_overrides = false;
|
||||
group_overrides = { };
|
||||
disable_nvimtree_bg = true;
|
||||
terminal_colors = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
colorschemes.vscode = {
|
||||
enable = true;
|
||||
settings = {
|
||||
transparent = true;
|
||||
italic_comments = true;
|
||||
italic_inhayhints = true;
|
||||
underline_links = true;
|
||||
terminal_colors = true;
|
||||
color_overrides = {
|
||||
vscLineNumber = "#FFFFFF";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue