Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
rtbo committed Jun 5, 2023
1 parent 2317ba9 commit 2cf589f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/served/extension.d
Original file line number Diff line number Diff line change
Expand Up @@ -1113,10 +1113,8 @@ ServedInfoResponse getServedInfo(ServedInfoParams params)
@protocolNotification("textDocument/didSave")
void onDidSaveDocument(DidSaveTextDocumentParams params)
{
auto workspaceRoot = workspaceRootFor(params.textDocument.uri);
auto config = workspace(params.textDocument.uri).config;
auto document = documents[params.textDocument.uri];
auto fileName = params.textDocument.uri.uriToFile.baseName;

if (document.getLanguageId == "d" || document.getLanguageId == "diet")
{
Expand Down

0 comments on commit 2cf589f

Please sign in to comment.