Skip to content

Commit

Permalink
Italicize vim comments (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
jawang35 authored Jan 31, 2021
1 parent ba6c71e commit 141c775
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vim/colors/onehalfdark.vim
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ call s:h("WildMenu", s:fg, "", "")
" See :help hl-Whitespace and :help hl-SpecialKey
call s:h("Whitespace", s:non_text, "", "")
call s:h("NonText", s:non_text, "", "")
call s:h("Comment", s:comment_fg, "", "")
call s:h("Comment", s:comment_fg, "", "italic")
call s:h("Constant", s:cyan, "", "")
call s:h("String", s:green, "", "")
call s:h("Character", s:green, "", "")
Expand Down
2 changes: 1 addition & 1 deletion vim/colors/onehalflight.vim
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ call s:h("WildMenu", s:fg, "", "")
" See :help hl-Whitespace and :help hl-SpecialKey
call s:h("Whitespace", s:non_text, "", "")
call s:h("NonText", s:non_text, "", "")
call s:h("Comment", s:comment_fg, "", "")
call s:h("Comment", s:comment_fg, "", "italic")
call s:h("Constant", s:cyan, "", "")
call s:h("String", s:green, "", "")
call s:h("Character", s:green, "", "")
Expand Down

2 comments on commit 141c775

@kirby88
Copy link

@kirby88 kirby88 commented on 141c775 Apr 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reasons this set a background color to comments (cf. image)

EDIT: tested without any plugins with vim -u NONE -U NONE -N -i NONE in both iterm2 and the terminal app on mac OS 11.1, same results

Screenshot 2021-04-04 at 15 19 00

@lajennylove
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! I just want to know if is there a way to change the background=transparent for the One Half Dark, because on my iTerm I use transparencies and it looks weird I just want to keep the colors of the dark theme with the transparent background , so that's pretty much what I want to know. Thanks!

Please sign in to comment.