Skip to content

Commit 9d632ac

Browse files
committed
basic: fix documentation
Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent a46b655 commit 9d632ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

basic.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var EOL = []string{"\n", "\r\n", "\r"}
3636
// Positions are line end character agnostic. So you can not specify a position that
3737
// denotes "\r|\n" or "\n|" where "|" represents the character offset.
3838
//
39-
// A position is between two characters like an "insert" cursor in a editor.
39+
// Position is between two characters like an "insert" cursor in a editor.
4040
// Special values like for example "-1" to denote the end of a line are not supported.
4141
type Position struct {
4242
// Line position in a document (zero-based).
@@ -78,8 +78,8 @@ type Location struct {
7878
// LocationLink represents a link between a source and a target location.
7979
type LocationLink struct {
8080
// OriginSelectionRange span of the origin of this link.
81-
// Used as the underlined span for mouse interaction. Defaults to the word range at
82-
// the mouse position.
81+
//
82+
// Used as the underlined span for mouse interaction. Defaults to the word range at the mouse position.
8383
OriginSelectionRange *Range `json:"originSelectionRange,omitempty"`
8484

8585
// TargetURI is the target resource identifier of this link.

0 commit comments

Comments
 (0)