mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Update telescope.lua
This commit is contained in:
parent
75750be1c0
commit
82f82c0ece
1 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ if lazyvim_docs then
|
|||
vim.g.lazyvim_picker = "telescope"
|
||||
end
|
||||
|
||||
local make_cmd = vim.loop.os_uname().sysname == "Linux" and "make" or "gmake"
|
||||
local have_make = vim.fn.executable("make") == 1
|
||||
local have_cmake = vim.fn.executable("cmake") == 1
|
||||
|
||||
|
|
@ -63,7 +64,7 @@ return {
|
|||
dependencies = {
|
||||
{
|
||||
"nvim-telescope/telescope-fzf-native.nvim",
|
||||
build = have_make and "make"
|
||||
build = have_make and make_cmd
|
||||
or "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build",
|
||||
enabled = have_make or have_cmake,
|
||||
config = function(plugin)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue