diff --git a/Indentation.tmPreferences b/Indentation.tmPreferences index f69da72..072ea2c 100644 --- a/Indentation.tmPreferences +++ b/Indentation.tmPreferences @@ -9,7 +9,7 @@ decreaseIndentPattern - ^\s*(end|else|elseif|catch|finally).*$ + ^\s*(end|else|elseif|catch|finally)\b.*$ increaseIndentPattern ^(\s*|\w*\s*=\s*|@\w*\s*)[\w\s]*\b(if|else|elseif|for|while|begin|function|type|macro|immutable|try|catch|finally|let|quote|.*\)\s*do|struct)\b(?!.*\bend\b[^\]]*$).*$