Skip to content

Commit 0f8eff1

Browse files
committed
fix: brighter comment color for vim, nvim, vscode
1 parent 5b5a60f commit 0f8eff1

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/lib/export/neovim.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ let colors_name = "root loops"
3939
if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running")
4040
hi Normal ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE
4141
hi NonText ctermfg=0 guifg=#e5e7ee
42-
hi Comment ctermfg=8 cterm=italic guifg=#9fa7bd gui=italic
42+
hi Comment ctermfg=7 cterm=italic guifg=#4e556a gui=italic
4343
hi Constant ctermfg=3 guifg=#b0964e
4444
hi Error ctermfg=1 guifg=#d77c6e
4545
hi Identifier ctermfg=9 guifg=#e4978a
@@ -170,7 +170,7 @@ elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
170170
set t_Co=16
171171
hi Normal ctermbg=NONE ctermfg=NONE
172172
hi NonText ctermfg=0
173-
hi Comment ctermfg=8 cterm=italic
173+
hi Comment ctermfg=7 cterm=italic
174174
hi Constant ctermfg=3
175175
hi Error ctermfg=1
176176
hi Identifier ctermfg=9

src/lib/export/textmate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function textmateSyntaxRules(cereals: Cereals) {
4343
scope: ["comment", "punctuation.definition.comment"],
4444
settings: {
4545
fontStyle: "italic",
46-
foreground: cereals.brightBlack.color_hex,
46+
foreground: cereals.white.color_hex,
4747
},
4848
},
4949
{

src/lib/export/vim.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ let colors_name = "root loops"
3939
if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running")
4040
hi Normal ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE
4141
hi NonText ctermfg=0 guifg=#e5e7ee
42-
hi Comment ctermfg=8 cterm=italic guifg=#9fa7bd gui=italic
42+
hi Comment ctermfg=7 cterm=italic guifg=#4e556a gui=italic
4343
hi Constant ctermfg=3 guifg=#b0964e
4444
hi Error ctermfg=1 guifg=#d77c6e
4545
hi Identifier ctermfg=9 guifg=#e4978a
@@ -128,7 +128,7 @@ elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
128128
set t_Co=16
129129
hi Normal ctermbg=NONE ctermfg=NONE
130130
hi NonText ctermfg=0
131-
hi Comment ctermfg=8 cterm=italic
131+
hi Comment ctermfg=7 cterm=italic
132132
hi Constant ctermfg=3
133133
hi Error ctermfg=1
134134
hi Identifier ctermfg=9

src/lib/export/vim.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function defineVimHighlights(cereals: Cereals): HighlightGroups {
2121
{ group: "EndOfBuffer", targetGroup: "NonText" },
2222

2323
// syntax
24-
{ group: "Comment", fg: c.darkgray, style: "italic" },
24+
{ group: "Comment", fg: c.gray, style: "italic" },
2525
{ group: "SpecialComment", targetGroup: "Special" },
2626
{ group: "Constant", fg: c.darkyellow },
2727
{ group: "Error", fg: c.darkred },

src/lib/export/vscode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ describe("Visual Studio Code export", () => {
258258
],
259259
"settings": {
260260
"fontStyle": "italic",
261-
"foreground": "#9fa7bd"
261+
"foreground": "#4e556a"
262262
}
263263
},
264264
{

0 commit comments

Comments
 (0)