vim-go v1.23 Release Notes

Release Date: 2020-05-16 // almost 4 years ago
  • BACKWARDS INCOMPATIBILITIES:

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ”ง Make signs for breakpoints configurable. [GH-2676] [GH-2690]
    • Enable g:go_gopls_complete_unimported by default to stay aligned with gopls' defaults. [GH-2695]
    • Document mappings that were recently added. [GH-2699]
    • ๐Ÿ– Handle null arrays better in gopls responses. [GH-2703]
    • 0๏ธโƒฃ Use gopls defaults by default when they're not otherwise specified in vim-go options. [GH-2696]
    • โž• Add support for gomodifytags --skip-unexported [GH-2660]
    • ๐Ÿ‘• Show problems that prevent golangci-lint from running linters. [GH-2706] [GH-2720]
    • ๐Ÿ‘Œ Support golangci-lint config file by not using --disable-all when g:go_metalinter_enable or g:go_metalinter_autosave_enabled is set to an empty array. [GH-2655] [GH-2715]
    • โž• Add support for Vim8 terminals. [GH-2639] [GH-2736]
    • Replace g:go_gopls_fuzzy_matching with g:go_gopls_matcher in response to gopls deprecation of its fuzzyMatching option. [GH-2728]
    • Set statuses and progress messages consistently for code quality tools. [GH-2727]
    • Add a new supported value to g:go_fmt_command to format with gopls. [GH-2729] [GH-2752] [GH-2852]
    • โœ… Handle changes to go test -v output. [GH-2743]
    • Add g:go_gopls_mod_tempfile to configure gopls' tempModfile configuration. [GH-2747]
    • Add g:go_gopls_options to configure gopls' commandline options. [GH-2747]
    • ๐Ÿ‘Œ Improve readability of gopls logs. [GH-2773]
    • Introduce g:go_implements_mode to allow :GoImplements to be satisfied with gopls. [GH-2741] [GH-2799]
    • Introduce g:go_imports_mode to allow :GoImports to be satisfied with gopls. [GH-2791] [GH-2794] [GH-2796] [GH-2848]
    • ๐Ÿ”€ Send LSP synchronization messages to gopls when the file does not yet exist on disk as long as its directory exists. [GH-2805]
    • โš™ Run gogetdoc in the buffer's directory so that it will work regardless of the user's working directory in module-aware mode. [GH-2804]
    • Add g:go_gopls_analyses to support gopls' analyses options. [GH-2820]
    • Add g:go_gopls_local to support gopls' local option to control how third party imports are organized. [GH-2821]
    • ๐Ÿ“š Use gopls to get documentation and documentation links for identifiers under the cursor. [GH-2822] [GH-2839]
    • ๐Ÿ“š Clarify documentation for terminal options. [GH-2843]

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ‘‰ Use the discovered full path for gopls when renaming. [GH-2692]
    • ๐Ÿ Execute commands correctly on windows when 'shell' is not cmd.exe [GH-2713] [GH-2724]
    • ๐Ÿ“ฆ Always execute errcheck in the current package's directory. [GH-2726]
    • ๐Ÿ›  Fix errors when highlighting diagnostics after a :GoImports. [GH-2746]
    • ๐Ÿ‘• Preserve errors from formatting when both formatting and metalinting happen on save. [GH-2733] [GH-2810]
    • ๐ŸŒฒ Preserve ordering of gopls messages in the log. [GH-2753]
    • Fix :GoDef on windows when g:go_def_mode is set to gopls. [GH-2768]
    • ๐Ÿ– Handle null values from gopls. [GH-2778]
    • Preserve diagnostics highlights after formatting. [GH-2779]
    • ๐Ÿ›  Fix the decoding and encoding of multi-byte file paths received from and sent to gopls. [GH-2784]
    • ๐Ÿ›  Fix :GoRun so that it works as expected when the current working directory is neither in GOPATH nor within a module. [GH-2782] [GH-2818] [GH-2842]
    • ๐Ÿ‘‰ Use absolute file paths for :GoRun's arguments in terminal mode. [GH-2844]
    • ๐Ÿ‘‰ Show the command executed by :GoRun when g:go_debug includes 'shell-commands'. [GH-2785] [GH-2817]
    • Clear the list for formatting errors when g:go_fmt_command is gopls. [GH-2790]
    • ๐Ÿ– Handle text edits from gopls that are only line insertions. [GH-2802] [GH-2803]
    • Add g:go_imports_autosave so that imports can be adjusted on save when g:go_imports_mode is set to gopls. [GH-2800] [GH-2858]
    • Correct vim-go's help to correctly identify g:go_referrer_mode's default. [GH-2832]
    • ๐Ÿ‘• Clear the quickfix list when :GoLint succeeds. [GH-2833]
    • ๐Ÿ’ป Respect arguments to :GoDocBrowser. [GH-2822]
    • ๐Ÿ“š Use the correct path to documentation for struct fields with :GoDocBrowser. [GH-2822]
    • ๐Ÿ‘ท Do not try parsing errors from terminal jobs when the working directory has been removed. [GH-2824]
    • Document that g:go_jump_to_error apples to running the metalinter on save, too. [GH-2854]
    • Ignore commented out import statements when executing :GoImport. [GH-2862]
    • Interpret file paths in go vet errors relative to the current buffer's directory. [GH-2882]