sonph / onehalf

Clean, vibrant and pleasing color schemes for Vim, Sublime Text, iTerm, gnome-terminal and more.
MIT License
1.78k stars 236 forks source link

Add color theme to vim :terminal when termguicolors are set. #67

Open kennylouie opened 4 years ago

kennylouie commented 4 years ago

[onehalfdark.vim] Add the terminal ansi colors to support :set termguicolors.

I noticed that the g:terminal_ansi_colors was not set which resulted in vim using the default 16 ANSI colors of the underlying terminal. This only occurs when termguicolors is set.

Not sure if this is the correct implementation but it worked for me afterwards.