Skip to content

Conversation

LeighBicknell
Copy link
Contributor

Vim doesn't appear to support prefixing the :tag command with a number when cscopetag is set. Causing the jump to fail completely.

Patch turns off cscopetag and re-enables after execution as required.

complex857 pushed a commit that referenced this pull request Feb 19, 2015
Fixed phpcomplete#JumpToDeffinition fail with cscopetag set
@complex857 complex857 merged commit 9e132c3 into shawncplus:master Feb 19, 2015
@complex857
Copy link
Collaborator

Thank you very much for the patch, I've never even heard of this option before (-:

@jiji879
Copy link

jiji879 commented Apr 16, 2018

oops guys, when i try to add an improvement to JumpToDeffinition, the ntag symbol always jump to different file when the symbol in different place. for example:
call stacks

client.php:a->prepare()
a.php: b->prepare() 
c.php: c->prepare()

tags file

c ... prepare ...
b ... prepare ...
a ... prepare ...

i can get this command after function JumpToDeffinition

a.php: b -> prepare() get `2tag prepare`
b.php: c-> prepare() get `1tag prepare`

but when in file a ,command 2tag prepare will jump to c, in file b , command 1tag prepare will jump to itself. both in file a/b/c command 1tag prepare always jump to itself. it seems like nocscopetag doesn't work,i use neovim but try vim also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants