FireZenk / FireZenk/language-lua

Auto-end code blocks

Open
#22 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
66
Forks
34
PR merge metrics
No merged PRs in 30d

Description

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:

``` lua
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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.