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

Define call of go#decls#Decls as go-decls-dir for further mappings #1964

Merged
merged 1 commit into from
Sep 13, 2018

Conversation

tsyber1an
Copy link
Contributor

@tsyber1an tsyber1an commented Sep 10, 2018

I'd like to call :GoDeclsDir via hotkey as follows:

autocmd FileType go nmap <Leader>l <Plug>(go-decls-dir)

It appears the command needs to be defined in the mappings before its usage. This PR adds that definition.

@tsyber1an tsyber1an changed the title Define call of go#decl#Decls as go-decls-dir for further mappings Define call of go#decls#Decls as go-decls-dir for further mappings Sep 10, 2018
@fatih
Copy link
Owner

fatih commented Sep 11, 2018

Hi @funfun. Thanks for adding the plug mapping. Can you also add the go-decls mapping so have both of them?

@tsyber1an
Copy link
Contributor Author

@fatih Done. Do you merge as it is or squash on merge or should I squash locally?

@fatih
Copy link
Owner

fatih commented Sep 12, 2018

@funfun please squash them locally, makes things easier for us. Thanks

Expose call of go#decl#Decls as go-decls to mappings
@bhcleek
Copy link
Collaborator

bhcleek commented Sep 13, 2018

Thank you @funfun

bhcleek added a commit that referenced this pull request Sep 13, 2018
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.

None yet

3 participants