mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 23:25:07 +00:00
More work on e2e tests
This commit is contained in:
parent
2c10ed2669
commit
36e7fa9a76
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,5 @@
|
||||
**/*.pyc
|
||||
*.cquery
|
||||
*.pyc
|
||||
*.sln
|
||||
*.swp
|
||||
*.vcxproj
|
||||
|
@ -139,6 +139,7 @@ struct TextDocumentCompletionHandler : MessageHandler {
|
||||
|
||||
std::string path = request->params.textDocument.uri.GetPath();
|
||||
WorkingFile* file = working_files->GetFileByFilename(path);
|
||||
assert(file);
|
||||
|
||||
// It shouldn't be possible, but sometimes vscode will send queries out
|
||||
// of order, ie, we get completion request before buffer content update.
|
||||
|
Loading…
Reference in New Issue
Block a user