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

guru.vim: defer ImportPath check #1826

Merged
merged 1 commit into from
May 22, 2018
Merged

guru.vim: defer ImportPath check #1826

merged 1 commit into from
May 22, 2018

Commits on May 15, 2018

  1. guru.vim: defer ImportPath check

    In the k8s.io/kubernetes repo, vendor/k8s.io/{api,apiservers} etc. are
    symbolic links to corresponding dir staging/src/k8s.io/{api,apiservers}.
    
        vendor/k8s.io/apiserver -> ../../staging/src/k8s.io/apiserver
    
    ImportPath detection for files under these staging directories will fail
    because '%:p:h' does not match any items of 'go list'
    
    For large projects like k8s, users tend to set the g:go_guru_scope
    variable.  The change is mainly a workaround trying to improve
    experience so that those not worked before will work now and it will not
    affect existing usage.
    yousong committed May 15, 2018
    Configuration menu
    Copy the full SHA
    0918c20 View commit details
    Browse the repository at this point in the history