thinca / vim-ref

Integrated reference viewer.
204 stars 39 forks source link

Check source.available before ref#register_detection #31

Closed zhaocai closed 11 years ago

zhaocai commented 11 years ago

one more thing in man.vim. Is it correct to associate c to manpage?

if s:source.available()
  call ref#register_detection('c', 'man')
endif
thinca commented 11 years ago

Thanks for the report. Maybe, the check for c is unnecessary. I'll remove it.

Is it correct to associate c to manpage?

Yes. Manpage has the document of system calls and C standard library on category 2 and 3.