Update init.lua for telescope windows support

This commit is contained in:
Adang23 2023-09-14 08:41:03 -04:00 committed by GitHub
parent 11a611b4b6
commit b7a269f03c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

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