aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2011-09-27 18:45:54 +0200
committerPeter Odding <peter@peterodding.com>2011-09-27 18:45:54 +0200
commita380feb053cb5b3070f5b1a0176605680ab8d573 (patch)
tree30a3372b67dc16614ea5e7f104cdbf66fb1ecf36 /plugin
parentfe3f565ebdd565f81ea7dd52cd8bdbf843f971fe (diff)
downloadvim-easytags-a380feb053cb5b3070f5b1a0176605680ab8d573.tar.gz
Bug fix for error handling in cache_tagged_files()
I was editing a file over SCP and after fixing the bug I found out something really peculiar (at least to me). When the 'tags' option instructs Vim to search upwards recursively and you're editing a remote file, Vim's tagfiles() function will pretend as if every possible file exists: :echo tagfiles() ['sftp://vps//home/peter/bin/.tags', 'sftp://vps//home/peter/.tags', 'sftp://vps//home/.tags', 'sftp://vps//.tags', 'sftp://.tags', '/home/peter/.vim/tags/filetypes/sh'] And of course the plug-in doesn't like this: easytags.vim 2.6.1: Skipping unreadable tags file sftp://vps//home/peter/bin/.tags! easytags.vim 2.6.1: Skipping unreadable tags file sftp://vps//home/peter/.tags! easytags.vim 2.6.1: Skipping unreadable tags file sftp://vps//home/.tags! easytags.vim 2.6.1: Skipping unreadable tags file sftp://vps//.tags! easytags.vim 2.6.1: Skipping unreadable tags file sftp://.tags!
Diffstat (limited to 'plugin')
0 files changed, 0 insertions, 0 deletions