-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
see https://github.com/dkjii-gg/phpcomplete-test-2, try going to \t\test(), it brings to \f\test because it falls back to vim default tag search
The reason it does that is that when it looks for the match in the file (to get the line), it doesn't verify that it's not part of a comment
Here's a patch that fixes this (kinda), but it does not handle a lot of valid use-cases (and doesn't even exclude multiline comments)
seems like the jumptodef has a lot of edge cases, universal ctags supports the +n field, which adds the line at which the tag appears, maybe using this would fix all these issues and make the code smaller?
Metadata
Metadata
Assignees
Labels
No labels