mirror of
https://github.com/Reuh/language-candran.git
synced 2025-10-27 12:19:30 +00:00
Decrease indent even if followed by code. Fixes 'elseif' indentation
This commit is contained in:
parent
3cb6d2e27a
commit
da81cbf864
1 changed files with 1 additions and 1 deletions
|
|
@ -2,4 +2,4 @@
|
|||
'editor':
|
||||
'commentStart': '-- '
|
||||
'increaseIndentPattern': '\\b(else|elseif|(local\\s+)?function|then|do|repeat)\\b((?!end).)*$|\\{\\s*$'
|
||||
'decreaseIndentPattern': '^\\s*(elseif|else|end,?|\\}\\)?)\\s*$'
|
||||
'decreaseIndentPattern': '^\\s*(elseif|else|end,?|\\}\\)?).*$'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue