diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index 4508049..cd87549 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -12,9 +12,7 @@ return { -- Build Step is needed for regex support in snippets. -- This step is not supported in many windows environments. -- Remove the below condition to re-enable on windows. - if vim.fn.has 'win32' == 1 or vim.fn.executable 'make' == 0 then - return - end + if vim.fn.has 'win32' == 1 or vim.fn.executable 'make' == 0 then return end return 'make install_jsregexp' end)(), dependencies = { diff --git a/lua/plugins/mini.lua b/lua/plugins/mini.lua index ee4393d..12eebe1 100644 --- a/lua/plugins/mini.lua +++ b/lua/plugins/mini.lua @@ -27,9 +27,7 @@ return { -- default behavior. For example, here we set the section for -- cursor location to LINE:COLUMN ---@diagnostic disable-next-line: duplicate-set-field - statusline.section_location = function() - return '%2l:%-2v' - end + statusline.section_location = function() return '%2l:%-2v' end require('mini.pairs').setup()