From dc4f2fed05f0e21aaf782c52a7051d4da1f4519e Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 10 Aug 2011 23:19:31 -0400 Subject: [PATCH] Use read-only tags if already generated --- plugin/rake.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/rake.vim b/plugin/rake.vim index 589270e..56dca3f 100644 --- a/plugin/rake.vim +++ b/plugin/rake.vim @@ -516,7 +516,7 @@ call s:navcommand('task') " Rtags {{{1 function! s:project_tags_file() dict abort - if filewritable(self.path()) + if filereadable(self.path('tags')) || filewritable(self.path()) return self.path('tags') else if !has_key(self,'_tags_file')