Skip to content

Commit

Permalink
Fix: reparse when saved file has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
yorver committed Mar 17, 2018
1 parent 47136f2 commit de79b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CompletionThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ void CompletionThread::process(Request *request)
}
reparse = true;
} else if (!request->unsaved.isEmpty()) {
reparse = request->unsaved == cache->unsaved;
reparse = request->unsaved != cache->unsaved;
cache->lastModified = 0;
} else {
const uint64_t lastModified = request->source.sourceFile().lastModifiedMs();
Expand Down

0 comments on commit de79b24

Please sign in to comment.