Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77624 - [gopls] go package should be depends or optdepends

Attached to Project: Community Packages
Opened by Rich (rlees85) - Thursday, 23 February 2023, 08:55 GMT
Last edited by Morten Linderud (Foxboron) - Thursday, 11 May 2023, 21:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To George Rawlinson (rawlinsong)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

gopls package should have 'go' as a depends or optdepends. When trying to use gopls with Neovim and go is not installed I get the following error:

LSP[gopls] Error loading workspace folders (expected 1, got 0)
failed to load view for file:///tmp/go: err: go resolves to executable in current directory (./go): stderr:

I am not sure if this is specific to some features I am using (meaning it should be optdepends) or gopls will not work at all without go (meaning it should be depends).

Additional info:
* package version(s): 0.11.0-1
* config and/or log files etc: included above
* link to upstream bug report, if any: n/a

Steps to reproduce:

Install gopls, make sure 'go' package is not installed. Configure Neovim LSP to work with gopls. Open a .go file.
This task depends upon

Closed by  Morten Linderud (Foxboron)
Thursday, 11 May 2023, 21:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.11.0-2
Comment by Morten Linderud (Foxboron) - Thursday, 11 May 2023, 21:13 GMT
Added go as a dependency

Loading...