1
0
Fork 0
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:
wyozi 2014-12-06 16:14:40 +02:00
parent 3cb6d2e27a
commit da81cbf864

View file

@ -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,?|\\}\\)?).*$'