From 09b741be8aab829a8c31d9310e7cfd952d4449fa Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Fri, 6 Nov 2015 13:02:20 +0100 Subject: [PATCH] Better way of checking version/patch level --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 8d1337a..b4bb3e7 100644 --- a/.vimrc +++ b/.vimrc @@ -182,7 +182,7 @@ set number set cursorline syntax on -if v:version >= 704 && has('patch338') +if has('patch-7.4-338') " automatically indents wrapped lines up to the previous line. You can also " use the showbreak option to automatically indent the line even more set breakindent