Skip to content

Commit d1fb755

Browse files
committed
Remove old URI2 calls
1 parent 6fd7f3c commit d1fb755

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/requests/features.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function format_text(text::AbstractString, params, config)
185185
end
186186

187187
function textDocument_range_formatting_request(params::DocumentRangeFormattingParams, server::LanguageServerInstance, conn)
188-
doc = getdocument(server, URI2(params.textDocument.uri))
188+
doc = getdocument(server, params.textDocument.uri)
189189
cst = getcst(doc)
190190

191191
expr = get_inner_expr(cst, get_offset(doc, params.range.start):get_offset(doc, params.range.stop))

src/requests/misc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ julia_refreshLanguageServer_notification(_, server::LanguageServerInstance, conn
8686
trigger_symbolstore_reload(server)
8787

8888
function textDocument_documentLink_request(params::DocumentLinkParams, server::LanguageServerInstance, conn)
89-
doc = getdocument(server, URI2(params.textDocument.uri))
89+
doc = getdocument(server, params.textDocument.uri)
9090
links = DocumentLink[]
9191
find_document_links(getcst(doc), doc, 0, links)
9292
return links

0 commit comments

Comments
 (0)