Re: Omnicomplete for C - pattern not found problem

2007-03-07 Thread Zarko Coklin
Thanks Vissale! At first I did not know how to use your plugin. Txt file in doc directory was more than helpluf :-) So wanted 'omnicomplete' functionality works quite well now! BTW, I also followed your advice and renamed cpp.vim to c.vim, cause at present I am interested in C code. Zarko

Re: Omnicomplete for C - pattern not found problem

2007-03-06 Thread Zarko Coklin
I found a partial answer to my question here: http://tech.groups.yahoo.com/group/vim/message/68078 However, not sure why would the following be declared as an invalid C code: struct foo { /* ... */ }; typedef struct foo foo_t; int main() { foo myfoo; /* ... */ } In fact, I have a lot of

Re: Omnicomplete for C - pattern not found problem

2007-03-06 Thread Vissale NEANG
Hi, You can try this C++ omnicomplete plugin http://www.vim.org/scripts/script.php?script_id=1520 It will work for C files if you copy the file ~/.vim/after/ftplugin/cpp.vim to ~/.vim/after/ftplugin/c.vim (I'll add it for the next release). Best regards, Vissale 2007/3/6, Zarko Coklin [EMAIL

Omnicomplete for C - pattern not found problem

2007-03-05 Thread Zarko Coklin
Hi all! I recently discovered a wonderful feature of Vim 7.0: omnicomplete. I tried using it on my Windows installation but encountered problems. Here is what I did: 1. created ctags with Exuberant Ctags. Ctags were created like this: ctags -R --C-kinds=+defgmnstuv -f tagfile.tag 2. put