1
0
Fork 0
mirror of https://github.com/Reuh/language-candran.git synced 2025-10-27 20:29:31 +00:00

Merge pull request #30 from Rochet2/patch-1

Attempt improving indentation
This commit is contained in:
Jorge Garrido 2016-07-04 22:31:30 +02:00 committed by GitHub
commit 2379f76591

View file

@ -1,5 +1,5 @@
'.source.lua': '.source.lua':
'editor': 'editor':
'commentStart': '-- ' 'commentStart': '-- '
'increaseIndentPattern': '\\b(else|elseif|(local\\s+)?function|then|do|repeat)\\b((?!end).)*$|\\{\\s*$' 'increaseIndentPattern': '((\\b(else|function|then|do|repeat)\\b((?!\\b(end|until)\\b).)*)|(\\{\\s*))$'
'decreaseIndentPattern': '^\\s*(elseif|else|end|until,?|\\}\\)?).*$' 'decreaseIndentPattern': '^\\s*((\\b(elseif|else|end|until)\\b)|(\\})|(\\)))'