On Sun, May 24, 2009 at 1:03 PM, Matt Wozniski <[email protected]> wrote:

Adding 'test' doesn't give vim any of the information it needs about line
> numbers or file names.  So, since it can't do anything useful with what you
> gave it, it throws it away.


Thanks Matt for your swift response, it solved my problem. For reference,
this works as intended:

function! s:TestQF()
    let filename = '/usr/lib/python2.6/genericpath.py'
    let lnum = 5
    let entry = {'filename': filename, 'lnum': lnum}
    let qflist = getqflist()
    call add(qflist, entry)
    call setqflist(qflist)
endfun

Now this file shows up in :clist.

Thanks again!
Per Thulin

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to