]> git.phdru.name Git - dotfiles.git/commitdiff
.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 b0a7f7b182cb086d9a64f05627a6d174d7ea5813..de5a2583e4e63f5c65803fa389624745d11d1491 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