fix: incorrect character of range and selectionRange
This commit is contained in:
@@ -94,12 +94,12 @@ function M.handle_markdown()
|
|||||||
kind = 15,
|
kind = 15,
|
||||||
name = title,
|
name = title,
|
||||||
selectionRange = {
|
selectionRange = {
|
||||||
start = { character = 1, line = line - 1 },
|
start = { character = 0, line = line - 1 },
|
||||||
['end'] = { character = 1, line = line - 1 },
|
['end'] = { character = 0, line = line - 1 },
|
||||||
},
|
},
|
||||||
range = {
|
range = {
|
||||||
start = { character = 1, line = line - 1 },
|
start = { character = 0, line = line - 1 },
|
||||||
['end'] = { character = 1, line = line - 1 },
|
['end'] = { character = 0, line = line - 1 },
|
||||||
},
|
},
|
||||||
children = {},
|
children = {},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user