How to get the autocomplete to fill in full_methods instead of just full
I write a lot of methods "like_this". When I press "l< Tab >" to autocomplete all I am offered is "lik开发者_StackOverflowe". Is there a way to configure VIM to give me "like_this" as an option?
Kindest of Regards,
-- Jack
@Randy Morris's comment is worth exploring, type set completeopt?
to see what you have then :help completeopt
to explore your choices.
But I think that's probably because your vim considers _
as a word delimiter by default. Check it out by typing :set iskeyword?
, mine says iskeyword=@,48-57,_,192-255
.
Type :help iskeyword
for more information.
精彩评论