File tree Expand file tree Collapse file tree 2 files changed +69
-0
lines changed
tests/test-sources/colorschemes/vscode Expand file tree Collapse file tree 2 files changed +69
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ ...
4+ } :
5+ lib . nixvim . plugins . mkNeovimPlugin {
6+ name = "vscode" ;
7+ isColorscheme = true ;
8+ package = "vscode-nvim" ;
9+ colorscheme = null ; # Color scheme is set by `require.("vscode").load()`
10+ callSetup = false ;
11+
12+ maintainers = [ lib . maintainers . loicreynier ] ;
13+
14+ settingsExample = {
15+ transparent = true ;
16+ italic_comments = true ;
17+ italic_inlayhints = true ;
18+ underline_links = true ;
19+ terminal_colors = true ;
20+ color_overrides = {
21+ vscLineNumber = "#FFFFFF" ;
22+ } ;
23+ } ;
24+
25+ extraConfig = cfg : {
26+ colorschemes . vscode . luaConfig . content = ''
27+ local _vscode = require("vscode")
28+ _vscode.setup(${ lib . nixvim . toLuaObject cfg . settings } )
29+ _vscode.load()
30+ '' ;
31+ } ;
32+ }
Original file line number Diff line number Diff line change 1+ {
2+ empty = {
3+ colorschemes . vscode . enable = true ;
4+ } ;
5+
6+ defaults = {
7+ colorschemes . vscode = {
8+ enable = true ;
9+ settings = {
10+ transparent = false ;
11+ italic_comments = false ;
12+ italic_inlayhints = false ;
13+ underline_links = false ;
14+ color_overrides = false ;
15+ group_overrides = { } ;
16+ disable_nvimtree_bg = true ;
17+ terminal_colors = true ;
18+ } ;
19+ } ;
20+ } ;
21+
22+ example = {
23+ colorschemes . vscode = {
24+ enable = true ;
25+ settings = {
26+ transparent = true ;
27+ italic_comments = true ;
28+ italic_inhayhints = true ;
29+ underline_links = true ;
30+ terminal_colors = true ;
31+ color_overrides = {
32+ vscLineNumber = "#FFFFFF" ;
33+ } ;
34+ } ;
35+ } ;
36+ } ;
37+ }
You can’t perform that action at this time.
0 commit comments