fix debug build

This commit is contained in:
Felipe Lema 2021-05-03 12:51:16 -04:00
parent 84a00f6371
commit 700c1ffa58

View File

@ -101,7 +101,7 @@ void MessageHandler::textDocument_semanticTokensRange(
static GroupMatch match(g_config->highlight.whitelist,
g_config->highlight.blacklist);
assert(file->def);
assert(queryFile->def);
if (wfile->buffer_content.size() > g_config->highlight.largeFileSize ||
!match.matches(queryFile->def->path)) {
LOG_S(INFO) << "Not SemTokenizing " << path << "because of allowlist/denylist";