Fixe lua script to work with Windows and a bug

+ changed make to cmake
+ set version for blankline to v2 instead of v3
This commit is contained in:
JZsmitty 2023-09-28 04:02:09 -05:00
parent 3668af39f4
commit b2a34c2c0e
1 changed files with 3 additions and 2 deletions

View File

@ -170,6 +170,7 @@ require('lazy').setup({
'lukas-reineke/indent-blankline.nvim',
-- Enable `lukas-reineke/indent-blankline.nvim`
-- See `:help indent_blankline.txt`
version = '2.20.8',
opts = {
char = '',
show_trailing_blankline_indent = false,
@ -192,9 +193,9 @@ 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 = '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
return vim.fn.executable 'cmake' == 1
end,
},
},