Skip to content

Commit 616705c

Browse files
omit '==' as this operator isn't working this way
1 parent c051aae commit 616705c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lua/luasnip/extras/expand_conditions.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ local condition_mt = {
3030
end
3131
end,
3232
-- xnor '=='
33-
__eq = function(o1, o2)
34-
return function(...)
35-
return o1(...) == o2(...)
36-
end
37-
end,
33+
-- __eq = function(o1, o2)
34+
-- return function(...)
35+
-- return o1(...) == o2(...)
36+
-- end
37+
-- end,
3838
-- use table like a function by overloading __call
3939
__call = function(tab, line_to_cursor, matched_trigger, captures)
4040
return tab.func(line_to_cursor, matched_trigger, captures)

0 commit comments

Comments
 (0)