> completion-config.file > > word path.txt > word2 path2.txt > > You want to have a look at > :h complete-functions > :h readfile (how to read a file and get a list of lines) > :h filter( (remove the lines not matching your word by regex) > :h matchstr (match the file path ...) > Thanks..with readfile i'm able to write a workable solution.
readfile func reads the entire file into memory. i like to know, will the memory be released once the auto complete function completes? Regards, kkde
-- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php