Skip to content

breaking line indenting error  #19

@changnet

Description

@changnet

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,?|})?)._$|^)$'

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