-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/golang: fix folding range for function calls
Make folding ranges for function calls consistent with folding ranges for function bodies and composite literals: - keep the closing parenthesis visible - do not generate a folding range if either the first or last argument is on the same line as the opening or closing parenthesis Also refactor some code, add additional comments and test cases. Fixes golang/go#70467
- Loading branch information
1 parent
68caf84
commit 1cf77e8
Showing
5 changed files
with
325 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.