How do I check if Vim is compiled as 64-bit or 32-bit from within vimscript? Specifically on Windows.
1 Answer
Testing the value of the win64
feature should tell you:
:echo has("win64")
If the output is 1
, then your Vim installation is 64-bit.
See:
:help has()
:help feature-list
and search for 64
.
-
1To anyone that wonders how to use
has
, in command mode, you should type:echo has("win64")
– yairJun 21, 2019 at 7:55