.vimrc: Improve GUI type detection
authorOleg Broytman <phd@phdru.name>
Sat, 23 May 2020 00:02:13 +0000 (03:02 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 23 May 2020 00:02:13 +0000 (03:02 +0300)
.vimrc

diff --git a/.vimrc b/.vimrc
index b0a7f7b..de5a258 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -218,8 +218,8 @@ if has("gui_running")
    if has("win32")
       "set guifont=Courier_New:h18:cRUSSIAN
       set guifont=Lucida_Console:h18:cRUSSIAN
-   else
       set guifont=Monospace\ 16
+   elseif has("x11")
       set toolbar=icons,text " how to show the toolbar
    endif