From 3f3bc49b281988f04653f35e777d375f49398a77 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 7 Dec 2009 15:43:39 +0000 Subject: [PATCH] Windows 64-bit compatibility. Native 64-bit builds of Vim define win64. Check for that in addition to win32 when determining if we are on Windows. --- .vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index 460bcfb..26ce8db 100644 --- a/.vimrc +++ b/.vimrc @@ -19,7 +19,7 @@ version 4.0 se nocp " Find stuff. -if has("win32") +if has("win32") || has("win64") se rtp=~/.vim,$VIMRUNTIME endif @@ -145,7 +145,7 @@ se t_WS=[8;%p1%d;%p2%dt se hlsearch " Set graphical window title. -if has("win32") +if has("win32") || has("win64") " Windows taskbar entries are probably too small to show full titles. se titlestring=%t else @@ -596,7 +596,7 @@ endif "}}}1 if version >= "600" "{{{1 version 6.0 -if has("win32") +if has("gui_win32") se encoding=utf-8 endif @@ -611,7 +611,7 @@ syn enable " Set colours. if has("gui_running") - if has("win32") + if has("win32") || has("win64") exe "silent se guifont=DejaVu_Sans_Mono:h10:cANSI" else exe "silent se guifont=DejaVu\\ Sans\\ Mono\\ 10" -- 2.7.4