Skip to content

Commit

Permalink
fix #1490
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Sep 6, 2022
1 parent 178d8d9 commit 66db6ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* `CHG` `document-symbol`: redesigned to better support for `Sticky Scroll` feature of VSCode
* `FIX` `diagnostics.workspaceDelay` can not prevent first workspace diagnostic
* `FIX` [#1476](https://github.com/sumneko/lua-language-server/issues/1476)
* `FIX` [#1490](https://github.com/sumneko/lua-language-server/issues/1490)
* `FIX` [#1493](https://github.com/sumneko/lua-language-server/issues/1493)
* `FIX` [#1499](https://github.com/sumneko/lua-language-server/issues/1499)
* `FIX` [#1526](https://github.com/sumneko/lua-language-server/issues/1526)
Expand Down
2 changes: 1 addition & 1 deletion script/core/rangeformatting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ return function(uri, range, options)
return {
{
start = converter.unpackPosition(uri, { line = startLine, character = 0 }),
finish = converter.unpackPosition(uri, { line = endLine + 1, character = 0 }),
finish = converter.unpackPosition(uri, { line = endLine, character = 999999 }),
text = formattedText,
}
}
Expand Down

0 comments on commit 66db6ce

Please sign in to comment.