Commits

Alex Panchenko committed 2479c9c

X11 compatibility

  • Participants
  • Parent commits bc6fb76

Comments (0)

Files changed (1)

File gvimrc_common.vim

 an 40.320 &Tools.Build\ &Tags\ File		:silent !ctags -R .<CR>
 
 " Set lines and columns for GUI
-set guifont=courier_new:h9:cRUSSIAN
-set lines=35
-set columns=110
 
-if $VIM_ENGLISH == '' || $VIM_ENGLISH == 'yes'
-  au GUIEnter * simalt ~x
+if has("gui_win32")
+  set guifont=courier_new:h9:cRUSSIAN
+  set lines=35
+  set columns=110
+
+  if $VIM_ENGLISH == '' || $VIM_ENGLISH == 'yes'
+    au GUIEnter * simalt ~x
+  endif
+elseif has("X11")
+  set guifont="Courier 11"
+  set lines=35
+  set columns=110
 endif
 
 if v:version >= 700