Skip to content

Commit

Permalink
Convert file path to uri so clearing issues do not fail in Windows. A…
Browse files Browse the repository at this point in the history
…ddresses #89 and #83
  • Loading branch information
pherrymason committed Dec 3, 2024
1 parent 16d9818 commit b7bac01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/internal/lsp/server/Diagnostics.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (s *Server) RunDiagnostics(state *project_state.ProjectState, notify glsp.N
s.state.RemoveDocumentDiagnostics(k)
notify(protocol.ServerTextDocumentPublishDiagnostics,
protocol.PublishDiagnosticsParams{
URI: k,
URI: fs.ConvertPathToURI(k, s.options.C3.StdlibPath),
Diagnostics: []protocol.Diagnostic{},
})
}
Expand Down

0 comments on commit b7bac01

Please sign in to comment.