Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix escape_vim_singlequote_string

str argument is Symbol Object from Object.instance_methods etc,
and Symbol is undefined `#gsub`.
  • Loading branch information...
commit 65d246eb604408f7b0a7193600783a0e1b041446 1 parent 46c9e4e
@joker1007 joker1007 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  autoload/rubycomplete.vim
View
2  autoload/rubycomplete.vim
@@ -365,7 +365,7 @@ class VimRubyCompletion
end
def escape_vim_singlequote_string(str)
- str.gsub(/'/,"\\'")
+ str.to_s.gsub(/'/,"\\'")
end
def get_buffer_entity_list( type )
Please sign in to comment.
Something went wrong with that request. Please try again.