FireZenk / FireZenk/language-lua

breaking line indenting error

Open
#19 1 comment 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

if age > config:get_max_age( id,
CONFIG.AGE ) then
end

should be

if age > config:get_max_age( id,
CONFIG.AGE ) then
end

solved:edit language-lua.cson
'.source.lua':
'editor':
'commentStart': '-- '
'increaseIndentPattern': '^\s_(else|elseif|for|(local\s+)?function|if|repeat|until|while)\b((?!end).)_$|\{\s_$|\([\s\S]_$'
'decreaseIndentPattern': '^\s_(elseif|else|end|until,?|\}\)?)._$|^\)$'

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.