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

Smarter go_install_package #33

arp242 opened this issue Jan 8, 2020 · 0 comments

Smarter go_install_package #33

arp242 opened this issue Jan 8, 2020 · 0 comments


Copy link

@arp242 arp242 commented Jan 8, 2020

Now I need to do this:

autocmd BufReadPre /home/martin/code/goatcounter/*.go
            \ let g:gopher_install_package = ''
autocmd BufReadPre /home/martin/code/goatletter/*.go
            \ let g:gopher_install_package = ''

And more for other cmd/* projects.

This is kinda silly, we should be able to detect this.

Note: I also have; if I have that file open it should build that package, and not

makeprg is now set from compiler/go.vim; should probably hook in to BufReadPost or something.

@arp242 arp242 added the enhancement label Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.