forked from pragtical/lsp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finally implemented textDocument/rename fixes lite-xl/lite-xl-lsp#24
- Loading branch information
Showing
6 changed files
with
511 additions
and
16 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-- | ||
-- This file will define some of the LSP protocol elements as needed | ||
-- for type hinting usage with the sumneko lua language server. | ||
-- | ||
|
||
---@alias lsp.protocol.DocumentURI string | ||
|
||
---@class lsp.protocol.Position | ||
---@field line integer | ||
---@field character integer | ||
|
||
---@class lsp.protocol.Range | ||
---@field start lsp.protocol.Position | ||
---@field end lsp.protocol.Position | ||
|
||
---@class lsp.protocol.TextEdit | ||
---@field newText string | ||
---@field range lsp.protocol.Range | ||
|
||
---@class lsp.protocol.WorkspaceEdit | ||
---@field changes table<lsp.protocol.DocumentURI,lsp.protocol.TextEdit[]> |
Oops, something went wrong.