internal/lsp: Move much of our own code to internal/lsp
The initial clone of gopls added code to internal/golangorgx/gopls
However, having rewritten a lot of this code and added our own, it's
sensible to move our own code to internal/lsp.
Moving these files has meant they escape the scope of the
golangorgx/staticcheck.conf file which disables all linter checks. Thus
a few drive-by fixes have been applied.
Signed-off-by: Matthew Sackman <matthew@cue.works>
Change-Id: I8899539c7e9f44bc155fab2db2cbcb40bb23d732
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1219127
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>