Browse Source

Add transparency when no text in vim

Viktor Grahn 2 years ago
parent
commit
435f5d8b02
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .vimrc

+ 1 - 0
.vimrc

@@ -234,6 +234,7 @@ function! Toggle_transparent()
   echo g:is_transparent
     if g:is_transparent == 0
         hi Normal guibg=NONE ctermbg=NONE
+        hi NonText guibg=NONE ctermbg=NONE
         let g:is_transparent = 1
     else
         set background=dark