Skip to content

Commit

Permalink
Merge pull request #30 from Rochet2/patch-1
Browse files Browse the repository at this point in the history
Attempt improving indentation
  • Loading branch information
FireZenk authored Jul 4, 2016
2 parents f1698c9 + 4300e39 commit 2379f76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings/language-lua.cson
Original file line number Diff line number Diff line change
@@ -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)|(\\})|(\\)))'

0 comments on commit 2379f76

Please sign in to comment.