File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ MiniDeps.add({
259
259
-- Function to use when expanding LSP provided snippets
260
260
expand = function (snippet ) vim .snippet .expand (snippet ) end ,
261
261
-- Function to use when checking if a snippet is active
262
- active = function (filter ) vim .snippet .active (filter ) end ,
262
+ active = function (filter ) return vim .snippet .active (filter ) end ,
263
263
-- Function to use when jumping between tab stops in a snippet, where direction can be negative or positive
264
264
jump = function (direction ) vim .snippet .jump (direction ) end ,
265
265
},
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ local snippets = {
10
10
-- NOTE: we wrap these in functions to reduce startup by 1-2ms
11
11
-- when using lazy.nvim
12
12
expand = function (snippet ) vim .snippet .expand (snippet ) end ,
13
- active = function (filter ) vim .snippet .active (filter ) end ,
13
+ active = function (filter ) return vim .snippet .active (filter ) end ,
14
14
jump = function (direction ) vim .snippet .jump (direction ) end ,
15
15
},
16
16
}
You can’t perform that action at this time.
0 commit comments