mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
ci: fix file name for cache calculation
This commit is contained in:
parent
86345612b7
commit
3e316204f8
2 changed files with 3 additions and 2 deletions
|
|
@ -99,7 +99,8 @@ function M.select_compiler_args(repo, compiler)
|
|||
}
|
||||
if
|
||||
#vim.tbl_filter(function(file)
|
||||
return file:match "%.cc$" or file:match "%cpp$" or file:match "%.cxx$"
|
||||
local ext = vim.fn.fnamemodify(file, ":e")
|
||||
return ext == "cc" or ext == "cpp" or ext == "cxx"
|
||||
end, repo.files) > 0
|
||||
then
|
||||
table.insert(args, "-lstdc++")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue