group related conditions
This commit is contained in:
parent
5ce63c7de1
commit
d9bdffe74f
@ -36,8 +36,7 @@ endf
|
||||
|
||||
func! s:has_doc(rtp)
|
||||
return (isdirectory(a:rtp.'/doc')
|
||||
\ && (!filereadable(a:rtp.'/doc/tags')
|
||||
\ || filewritable(a:rtp.'/doc/tags')))
|
||||
\ && (!filereadable(a:rtp.'/doc/tags') || filewritable(a:rtp.'/doc/tags')))
|
||||
endf
|
||||
|
||||
func! s:helptags(rtp)
|
||||
|
Loading…
Reference in New Issue
Block a user