mirror of
https://github.com/golang/go
synced 2024-11-18 14:14:46 -07:00
5a22b632c5
This CL removes duplicate code in lineFoldingRange function under lsp/source/folding_range.go and generally improves code quality. Fixes bug with composite literal folding where gopls was folding literals with braces on the same line as end token (paranthesis/braces). Change-Id: I742f285d866d72a243129c0aef0935fe2a1ad0dd Reviewed-on: https://go-review.googlesource.com/c/tools/+/245757 Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
lsp | ||
missingdep | ||
missingtwodep | ||
unused | ||
upgradedep |