Merge pull request #13178 from steelsojka/fix-empty-main-query-file

fix(treesitter): account for no main query file
This commit is contained in:
Thomas Vigouroux
2020-11-02 18:16:37 +01:00
committed by GitHub

View File

@@ -25,7 +25,7 @@ local function filter_files(file_list)
end
end
return { main, unpack(after) }
return main and { main, unpack(after) } or after
end
local function runtime_query_path(lang, query_name)