master #1

Open
oli wants to merge 912 commits from master into lua
4 changed files with 34 additions and 0 deletions
Showing only changes of commit e93e47bd69 - Show all commits

View File

@@ -9,4 +9,15 @@ return {
cwd = 'build_nvim',
}
end,
condition = {
callback = function(opts)
if vim.fn.executable("cmake") == 0 then
return false, 'Command "cmake" not found'
end
if vim.fn.findfile("CMakeLists.txt", opts.dir .. ";") == "" then
return false, "No CMakeLists.txt found"
end
return true
end,
},
}

View File

@@ -9,4 +9,15 @@ return {
cwd = 'build_nvim',
}
end,
condition = {
callback = function(opts)
if vim.fn.executable("cmake") == 0 then
return false, 'Command "cmake" not found'
end
if vim.fn.findfile("CMakeLists.txt", opts.dir .. ";") == "" then
return false, "No CMakeLists.txt found"
end
return true
end,
},
}

View File

@@ -1,4 +1,5 @@
return {
'builtin',
'user.cmake.configure',
'user.cmake.build',
'user.cmake.clean'}

View File

@@ -10,4 +10,15 @@ return {
cwd = build_nvim,
}
end,
condition = {
callback = function(opts)
if vim.fn.executable("cmake") == 0 then
return false, 'Command "cmake" not found'
end
if vim.fn.findfile("CMakeLists.txt", opts.dir .. ";") == "" then
return false, "No CMakeLists.txt found"
end
return true
end,
},
}