Skip to content

Commit d8bf74c

Browse files
committed
Fix a bug
1 parent d4c6bfc commit d8bf74c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/requests/workspace.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ function workspace_didChangeWatchedFiles_notification(params::DidChangeWatchedFi
4444
doc = getdocument(server, uri)
4545

4646
if !get_open_in_editor(doc)
47-
set_text_document!(doc, TextDocument(uri, text_document.content.content, 0))
47+
set_text_document!(doc, TextDocument(uri, text_file.content.content, 0))
4848
set_is_workspace_file(doc, true)
4949

5050
parse_all(doc, server)
5151
push!(docs_to_lint, doc)
5252
end
5353
else
54-
doc = Document(TextDocument(uri, text_document.content.content, 0), true, server)
54+
doc = Document(TextDocument(uri, text_file.content.content, 0), true, server)
5555
setdocument!(server, uri, doc)
5656

5757
parse_all(doc, server)

0 commit comments

Comments
 (0)