bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug report: gtags-cscope.vim not working properly on windows


From: yun sheng
Subject: bug report: gtags-cscope.vim not working properly on windows
Date: Tue, 18 Jun 2013 18:05:11 +0800

What is your environment(OS)?
Windows XP SP3

Which version of GLOBAL are you using?
GLOBAL 6.2.8 Win32

What did you do? (command line)
1, Added gtags.vim and gtags-cscope.vim to vim's plugin directory
2, generated gtags in the project's root folder with `gtags`
3, called :GtagsCscope in vim

What did you expect from it?
The cscope connection added to vim correctly

What was occurred?
There is no cscope connection added to vim.

Proposed solution:
This is caused by gtags-cscope.vim's line163

The following is the solution:

--- a/bundle/gtags-6.2.8/plugin/gtags-cscope.vim
+++ b/bundle/gtags-6.2.8/plugin/gtags-cscope.vim
@@ -160,7 +160,7 @@ function! s:GtagsCscope()
     "
     " Get gtagsroot directory.
     "
-    let gtagsroot = s:GtagsCscope_GtagsRoot()
+    let gtagsroot = glob(s:GtagsCscope_GtagsRoot())
     if gtagsroot == ''
         return
     endif


Best regards,
Sheng Yun

reply via email to

[Prev in Thread] Current Thread [Next in Thread]