Skip to content

Commit

Permalink
fix #102, has('nvim-0.2.0')
Browse files Browse the repository at this point in the history
  • Loading branch information
syngan committed Oct 18, 2017
1 parent 22e7add commit 6877a95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions autoload/vimlint/builtin_arg.vim
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ function! s:funcs.has(vl, fname, node) " {{{
let str = vimlint#util#str_value(rlist[0])
if str !~# 'patch[0-9]\+' &&
\ str !~# 'patch-[0-9]\+\.[0-9]\+\.[0-9]\+' &&
\ str !~# 'nvim-[0-9]\+\.[0-9]\+\.[0-9]\+' &&
\ !has_key(s:feature_list, tolower(str))
call s:EVL108(a:vl, a:node, 1, a:fname, 'a feature. see :h feature-list')
endif
Expand Down
2 changes: 1 addition & 1 deletion test/has1.vim
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ call has('win64unix')
call has('win95')
call has('xim')
call has('xterm_clipboard')

call has('nvim-0.2.0')

0 comments on commit 6877a95

Please sign in to comment.