mirror of
https://github.com/Reuh/language-candran.git
synced 2025-10-27 12:19:30 +00:00
This change tries to make - single line repeat-until not indent - 'end' not match in the middle of words like 'tend' Closes https://github.com/FireZenk/language-lua/issues/12
5 lines
243 B
Text
5 lines
243 B
Text
'.source.lua':
|
|
'editor':
|
|
'commentStart': '-- '
|
|
'increaseIndentPattern': '((\\b(else|function|then|do|repeat)\\b((?!\\b(end|until)\\b).)*)|(\\{\\s*))$'
|
|
'decreaseIndentPattern': '^\\s*((\\b(elseif|else|end|until)\\b)|(\\})|(\\)))'
|