>
> On Tue, 15 Jun 2010, aleCodd wrote:
>
> Running ':scriptnames' produces:
> 1: /usr/share/vim/vim72/filetype.vim
> [...trimming known-irrelevant ftdetect files...]
> 9: /usr/share/vim/vim72/ftplugin.vim
> 10: /usr/share/vim/vim72/indent.vim
> 11: /usr/share/vim/vim72/ftplugin/javascript.vim
> 12: /usr/share/vim/vim72/indent/javascript.vim
> 13: /usr/share/vim/vim72/autoload/javascriptcomplete.vim
>
> Maybe you're picking up the wrong version of something in that list?
> Maybe the portion I've trimmed contains some broken filetype detection?
> Maybe you've overridden javascript.vim or javascriptcomplete.vim in your
> home directory?
>
>
You're right.
Scriptnames outputs .../autoload/syntaxcomplete.vim due to .vimrc command to
set omnifunc to that file.
I guess i was ill-advised regarding that .vimrc command, and it should at
best be avoided, esp. when other complete scripts are around for that
filetype.
Thanks so much, your help is very much appreciated.
Alex
--
View this message in context: http://old.nabble.com/omnifunction-in-JavaScript-tp28889416p28909013.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment