On May 11, 8:54 pm, Marc Weber <[email protected]> wrote: > ...copy pasting that code or running > setlocal omnifunc=syntaxcomplete#Complete in any way is all you have to > do to make c-x c-o work. Don't know exactly how the script_id 3172 > differs from that implementation (You may find out by looking at authors > dates and comparing) > > How does it do it? Basically it processes the output of :syntax list > somehow: > > redir @l > silent! exec 'syntax list '.join(list_parms) > redir END > > syntax list does not show anything of interest? > Add this to your ~/.vimrc: > > filetype indent plugin on | syn on > > Still trouble? Write again. > > How to improve this all? By more dynamic: Extract functions from > system('octave', "help --list") output somehow, > seehttp://www.gnu.org/software/octave/doc/interpreter/Getting-Help.html(2.3) > You can even use doc .. and display function documentation then. > > If you want to do this I can help you implementing caches etc. Contact > me off list so that we can implement this all so that you can distribute > and maintain your first plugin.
Thanks, Marc. It turns out that I just need to press ctrl-x followed by ctrl-o. It took a couple of evenings to hunt down the sources and the thinking that you so kindly illustrated, and I didn't quite follow through to the very end. I don't think I'm the right person to follow up in the manner that you suggested because I spend a limited time in the coding world these days. It's all that I can do to even try to keep a foot in the coding world. However, if this should change, I will definitely consider it. -- 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
