Skip to content

Auto-end code blocks #22

Description

@karai17

I am not sure if this is an Atom feature or a language grammar feature (or both?) but Atom seems to enjoy adding closing syntax such as brackets, braces, and quotations when you type the opening equivalent. It would be pretty nice if this grammar could auto close code blocks that use "end" such as:

function name()
end

name = function()
end

for i=1, 10 do
end

for i, v in ipairs(t) do
end

for k, v in pairs(t) do
end

while true do
end

do
end

if true then
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions