pep*_*ico 5 vim color-scheme vim-syntax-highlighting viml
我成功使用以下方法为Vim 启用了真彩色:
set t_8f=\[[38;2;%lu;%lu;%lum
set t_8b=\[[48;2;%lu;%lu;%lum
set termguicolors
Run Code Online (Sandbox Code Playgroud)
(查看:h xterm-true-color更多信息)
然后,我启用了真彩色颜色方案以尝试新设置,例如:
set background=dark
colors deep-space
Run Code Online (Sandbox Code Playgroud)
(https://github.com/tyrannicaltoucan/vim-deep-space)
以前使用256色时,我可以通过以下方式获得透明背景:
hi! Normal ctermbg=NONE guibg=NONE
hi! NonText ctermbg=NONE guibg=NONE
Run Code Online (Sandbox Code Playgroud)
现在,这不再起作用了,我不知道有其他选择。在Vim下可以获取透明背景termguicolors吗?
我已经在Vim的问题跟踪器上打开了一个问题:https : //github.com/vim/vim/issues/981
| 归档时间: |
|
| 查看次数: |
2350 次 |
| 最近记录: |