vim - Nvim 不断关闭我的终端透明度
问题描述
我正在使用 Microsoft Store 上提供的 Windows 终端(不是默认的),我目前有丙烯酸和透明度。但是,每次我打开 nvim 时,我的颜色方案都会为背景着色,透明度消失。我尝试了几个解决方案:
highlight Normal ctermbg=NONE
set t_Co=256
set termguicolors
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
colorscheme solarized8_flat
highlight Comment cterm=italic gui=italic
if &term =~ '256color'
" disable Background Color Erase (BCE) so that color schemes
" render properly when inside 256-color tmux and GNU screen.
set t_ut=
endif
这些都不起作用或改变任何东西,nvim 背景不透明的窗口。有没有办法解决这个问题?谢谢。
解决方案
推荐阅读
- html - Angular ng build --prod 后,主页上的所有图像都不会显示
- reactjs - ReactJS 使用在其他 ReactDOM 上呈现的按钮更改路由
- c++ - MacOS POD 类型检查上的 C++
- java - 动画完成后如何隐藏进度条
- r - 没有模式字符串的子集字符串
- delphi - 如何使用特定的网络适配器进行连接?
- c - 强制 Accelio 使用 RDMA
- geojson - 在 GeoJSON 对象中添加 bbox 的正确方法是什么?
- javascript - 返回按对象年龄从小到大排序的对象名称数组
- javascript - 在鼠标滚动上触发 keydown 事件