lib/textbringer/modes/c_mode.rb in textbringer-1.1.2 vs lib/textbringer/modes/c_mode.rb in textbringer-1.2.0

- old
+ new

@@ -267,10 +267,10 @@ else indentation end end - CANONICAL_PUNCTUATORS = Hash.new { |h, k| k } + CANONICAL_PUNCTUATORS = Hash.new { _2 } CANONICAL_PUNCTUATORS["<:"] = "[" CANONICAL_PUNCTUATORS[":>"] = "]" CANONICAL_PUNCTUATORS["<%"] = "{" CANONICAL_PUNCTUATORS["%>"] = "}" BLOCK_END = {