Update init.lua

CMake Telescope
This commit is contained in:
Emile Bangma 2023-12-08 11:20:47 +01:00 committed by GitHub
parent 3824342d10
commit 6df91db165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -236,7 +236,8 @@ require('lazy').setup({
'nvim-telescope/telescope-fzf-native.nvim',
-- NOTE: If you are having trouble with this installation,
-- refer to the README for telescope-fzf-native for more instructions.
build = 'make',
-- build = 'make',
build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build',
cond = function()
return vim.fn.executable 'make' == 1
end,