gui fixes

Mon, 07 Feb 2022 23:52:57 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 07 Feb 2022 23:52:57 -0600
changeset 979
ecb1ba4072b9
parent 978
39659c5ed5b0
child 980
ab27e37bbb82

gui fixes

.gvimrc file | annotate | diff | comparison | revisions
--- a/.gvimrc
+++ b/.gvimrc
@@ -4,21 +4,21 @@ set go-=T go-=m go-=t "no toolbar, menu,
 
 set guicursor+=a:blinkwait1000-blinkon1200-blinkoff250
 
-if g:on_windows
-  set guifont=DejaVu_Sans_Mono:h10:cDEFAULT
-  set linespace=0
-elseif has('osx')
-  set guifont=DejaVu\ Sans\ Mono:h11
-else
-  set guifont=DejaVu\ Sans\ Mono\ 10
-endif
+if g:airline_powerline_fonts == 0
+  if g:on_windows
+    set guifont=DejaVu_Sans_Mono:h10:cDEFAULT
+    set linespace=0
+  elseif has('osx')
+    set guifont=DejaVu\ Sans\ Mono:h11
+  else
+    set guifont=DejaVu\ Sans\ Mono\ 10
+  endif
 
-if g:airline_powerline_fonts == 0
   let g:airline_left_sep  = '▒'
   let g:airline_right_sep = '▒'
 endif
 
-if !get(g:, 'vimrc_window_sized', 0)
+if !get(s:, 'vimrc_window_sized', 0)
   set columns=120 lines=40
-  let g:vimrc_window_sized = 1
+  let s:vimrc_window_sized = 1
 endif

mercurial