From: Iain Patterson Date: Mon, 7 Dec 2009 15:43:39 +0000 (+0000) Subject: Windows 64-bit compatibility. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=3f3bc49b281988f04653f35e777d375f49398a77;p=profile.git 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. --- 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"