Skip to content

Commit

Permalink
Merge branch 'add-square-brackets-to-autoindent' of github.com:MITSUB…
Browse files Browse the repository at this point in the history
…OSHI/rib

* 'add-square-brackets-to-autoindent' of github.com:MITSUBOSHI/rib:
  add square brackets to auto-indent
  • Loading branch information
godfat committed Jun 1, 2018
2 parents cb6b74d + 0c3e4cf commit 195d714
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rib/extra/autoindent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ module Rib; module Autoindent
/do( *\|.*\|)?$/ => /^(end)\b/ ,
/\{( *\|.*\|)?$/ => /^(\})\B/ ,
/\($/ => /^(\))\B/ ,
/\[$/ => /^(\])\B/ ,
# those are too hard to deal with, so we use syntax error to double check
# what about this then?
# v = if true
Expand Down

0 comments on commit 195d714

Please sign in to comment.