Skip to content

Commit

Permalink
Fixed indentation of lines that end with partial long strings with op…
Browse files Browse the repository at this point in the history
…ening brackets (#324).
  • Loading branch information
pkulchenko committed Jun 28, 2015
1 parent d7def66 commit 8e893e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/lua.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ return {
end
str = (str
:gsub('%[=*%[.-%]=*%]','') -- remove long strings
:gsub('%[=*%[.*','') -- remove partial long strings
:gsub('%-%-.*','') -- strip comments after strings are processed
:gsub("%b()","()") -- remove all function calls
)
Expand Down

0 comments on commit 8e893e3

Please sign in to comment.