Skip to content

Commit

Permalink
Fix hash splitting for keys with ?!
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRadev committed Nov 9, 2015
1 parent 675942d commit a2a53eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/sj/argparser/ruby.vim
Expand Up @@ -47,7 +47,7 @@ function! sj#argparser#ruby#Process() dict
elseif self.hash_type == 'new'
let self.hash_type = 'mixed'
endif
elseif self.body =~ '^\k:'
elseif self.body =~ '^\(\k\|[?!]\):'
let self.current_arg_type = 'option'
if sj#BlankString(self.hash_type)
let self.hash_type = 'new'
Expand Down

0 comments on commit a2a53eb

Please sign in to comment.