Ben Fritz <fritzophre...@gmail.com> writes: > On Thursday, May 21, 2015 at 12:33:02 AM UTC-5, jottka...@googlemail.com > wrote: >> So your test should look >> like >> >> if v:version > 704 || (v:version == 704 && has('patch585')) >> > > Or the new way introduced recently (:help has-patch): > > if has("patch-7.4.585")
Perfect, thank you Ben! Wael > > This should just return false if the Vim version is too old to support the > method, in which case it is also too old to support the feature you're > interested in. -- Wael Nasreddine | Senior Full Stack Engineer at Dailymotion | (650) 933-3448 -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.