instance method
SyntaxSuggest::LeftRightLexCount#missing_pipe
missing_pipe
lib/syntax_suggest/left_right_lex_count.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/syntax_suggest/left_right_lex_count.rb, line 162
def missing_pipe
if @count_for_char["|"].odd?
"|"
end
end
Pipes come in pairs. If there’s an odd number of pipes then we are missing one