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

go.mod file support #1931

Merged
merged 2 commits into from
Aug 31, 2018
Merged

go.mod file support #1931

merged 2 commits into from
Aug 31, 2018

Commits on Aug 30, 2018

  1. go.mod file support

    This adds initial support for the `go.mod` file.  It adds the
    followings:
    
    * Syntax highligthing. We highlight keywords, strings, operator and
    semver version. It works pretty well for now.
    * Auto fmt on save. Command `:GoModFmt` or `Plug(go-mod-fmt)` for custom
      mappings
    
    Before we fully support the semantics of go.mod, I think this initially
    will be helpful because I discovered that `go.mod` is read and edited a
    lot. So going forward, this will make it easier experimenting with Go
    modules.
    
    related: #1906
    fatih committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    3d725eb View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2018

  1. Fix review comments

    * Fix auto toggle command
    * Add guard agains Go versions lower than 1.11
    * Add documentation
    * Fixed setting correct filetype
    * Fixed parsing errors
    * Changed variable names to be consistent
    fatih committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    3b04072 View commit details
    Browse the repository at this point in the history