Skip to content

Commit 92424df

Browse files
committed
feat(lua): match more nodes for postfix snippets
1 parent 61ad8ad commit 92424df

File tree

1 file changed

+2
-0
lines changed
  • lua/luasnip-snippets/snippets

1 file changed

+2
-0
lines changed

lua/luasnip-snippets/snippets/lua.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ local expr_query = [[
2121
(function_call)
2222
(identifier)
2323
(expression_list)
24+
(dot_index_expression)
25+
(bracket_index_expression)
2426
] @prefix
2527
]]
2628

0 commit comments

Comments
 (0)