mirror of
https://github.com/Reuh/language-candran.git
synced 2025-10-27 12:19:30 +00:00
Merge pull request #30 from Rochet2/patch-1
Attempt improving indentation
This commit is contained in:
commit
2379f76591
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
'.source.lua':
|
||||
'editor':
|
||||
'commentStart': '-- '
|
||||
'increaseIndentPattern': '\\b(else|elseif|(local\\s+)?function|then|do|repeat)\\b((?!end).)*$|\\{\\s*$'
|
||||
'decreaseIndentPattern': '^\\s*(elseif|else|end|until,?|\\}\\)?).*$'
|
||||
'increaseIndentPattern': '((\\b(else|function|then|do|repeat)\\b((?!\\b(end|until)\\b).)*)|(\\{\\s*))$'
|
||||
'decreaseIndentPattern': '^\\s*((\\b(elseif|else|end|until)\\b)|(\\})|(\\)))'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue