dotfiles/.emacs.d/snippets/lua-mode/ipairs

8 lines
126 B
Plaintext

# -*- mode: snippet -*-
# name: for in ipairs
# key: ipairs
# --
for ${1:idx}, ${2:val} in ipairs(${3:table_name}) do
$0
end