tomtom / quickfixsigns_vim

Mark quickfix & location list items with signs
http://www.vim.org/scripts/script.php?script_id=2584
GNU General Public License v3.0
131 stars 13 forks source link

Error when using netrw / virtual file #6

Closed blueyed closed 13 years ago

blueyed commented 13 years ago

When using ":e http://www.google.com" to open a file (read-only) via http, the following error gets displayed via quickfixsigns:

Error detected while processing function QuickfixsignsSet..<SNR>62_GetList..quickfixsigns#vcsdiff#GetList:
line   17:
E344: Can't find directory "http:" in cdpath
E472: Command failed

I just wanted to let you know, because it's likely trivial to fix. In case any additional information would be required, I'd be glad to provide it.

tomtom commented 13 years ago

I guess the proper way would be to check for b:netrw_tmpfile. Unfortunately, getbufvar() doesn't seem to work properly with such buffers. qfs now ignores any files that are not readable.