We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d2d81b commit 7af594fCopy full SHA for 7af594f
init.lua
@@ -100,7 +100,18 @@ require('lazy').setup({
100
'hrsh7th/nvim-cmp',
101
dependencies = {
102
-- Snippet Engine & its associated nvim-cmp source
103
- 'L3MON4D3/LuaSnip',
+ {
104
+ 'L3MON4D3/LuaSnip',
105
+ build = (function()
106
+ -- Build Step is needed for regex support in snippets
107
+ -- This step is not supported in many windows environments
108
+ -- Remove the below condition to re-enable on windows
109
+ if vim.fn.has 'win32' == 1 then
110
+ return
111
+ end
112
+ return 'make install_jsregexp'
113
+ end)(),
114
+ },
115
'saadparwaiz1/cmp_luasnip',
116
117
-- Adds LSP completion capabilities
0 commit comments