From b2a34c2c0ed4c56bb03558bc6f8dfa67bb8fd8b5 Mon Sep 17 00:00:00 2001 From: JZsmitty Date: Thu, 28 Sep 2023 04:02:09 -0500 Subject: [PATCH] Fixe lua script to work with Windows and a bug + changed make to cmake + set version for blankline to v2 instead of v3 --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index cec3084e..a5ed9292 100644 --- a/init.lua +++ b/init.lua @@ -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, }, },