mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +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
|
*.cquery
|
||||||
*.pyc
|
|
||||||
*.sln
|
*.sln
|
||||||
*.swp
|
*.swp
|
||||||
*.vcxproj
|
*.vcxproj
|
||||||
|
@ -139,6 +139,7 @@ struct TextDocumentCompletionHandler : MessageHandler {
|
|||||||
|
|
||||||
std::string path = request->params.textDocument.uri.GetPath();
|
std::string path = request->params.textDocument.uri.GetPath();
|
||||||
WorkingFile* file = working_files->GetFileByFilename(path);
|
WorkingFile* file = working_files->GetFileByFilename(path);
|
||||||
|
assert(file);
|
||||||
|
|
||||||
// It shouldn't be possible, but sometimes vscode will send queries out
|
// It shouldn't be possible, but sometimes vscode will send queries out
|
||||||
// of order, ie, we get completion request before buffer content update.
|
// of order, ie, we get completion request before buffer content update.
|
||||||
|
Loading…
Reference in New Issue
Block a user