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

Goto local Declaration #65

Closed
drichardson opened this issue Feb 11, 2016 · 1 comment
Closed

Goto local Declaration #65

drichardson opened this issue Feb 11, 2016 · 1 comment

Comments

@drichardson
Copy link

This is an enhancement request to support vim's gd (Goto local Declaration) command. The way it's implemented in vim-go is very nice: you move the cursor over a symbol and then enter gd command to jump to the definition of that symbol.

@carlobaldassi
Copy link
Contributor

I have had a look at how it would be possible to implement this, but it's really very hard to do right in vimscript for a language like Julia.

On the other hand, this functionality is apparently available via LanguageServer.jl, at least in neovim, see here.

I think there may be some experimental support for vim 8, but I haven't tested it.

Note that, as far as I can tell, vim-go also relies on an external parser for this, which is actually the sane way to do it.

And of course, there's always the poor man's way of just using #, at least within one file...

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

No branches or pull requests

2 participants