Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Vim tags prefer jumping to actual definitions of requires #14

Open
bobwhitelock opened this issue Jul 13, 2020 · 0 comments
Open

Comments

@bobwhitelock
Copy link
Owner

bobwhitelock commented Jul 13, 2020

When a require like const FooActions = require('foo/actions/FooActions'); is seen, more often than not hitting C-] on FooActions will cause Vim to either just jump to the beginning of this line, or jump to another place the same thing is imported. It would be better if this always jumped to the actual definition.

Maybe the solution is just to change everything to use import rather than require ¯\_(ツ)_/¯

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

No branches or pull requests

1 participant