ternjs / tern_for_vim

Tern plugin for Vim
MIT License
1.83k stars 100 forks source link

Feat: configuration option 'g:tern_set_omni_function' to enable/disable setting omnifunction #133

Closed harish2704 closed 8 years ago

harish2704 commented 8 years ago

Feat: configuration option 'g:tern_set_omni_function' to enable/disable setting omnifunction

marijnh commented 8 years ago

That patch looks (though I'm not really fluent in vimscript) like it'll turn off setting the omnifunc by default.

harish2704 commented 8 years ago

There was a serious mistake in the first pull request. I have fixed it now. ( 19b7f7b + caa2952 )

I also checked the case you mentioned. and I can confirm that, omnifunc will be enabled by default. users can disable it by setting let g:tern_set_omni_function = 0

marijnh commented 8 years ago

Looks much better now. Merged as 0c74dbb