caio.co/de/querycommandcomplete.vim

Update docs with new functionality

Id
e0d84b2925e840c131f4569e9949b6dbe0376169
Author
Caio
Commit time
2012-09-17T20:19:54+02:00

Modified README

@@ -9,14 +9,17
to any other kind of functionality by modifying the exposed setting
parameters.

-Last Change: 2012 Jul 15
+Last Change: 2012 Sep 17
Maintainer: Caio Romão <caioromao@gmail.com>
License: This file is placed in the public domain
+Contributors:
+ Brian Henderson <https://github.com/bhenderson>

Setup:
This plugin exports the completion function QueryCommandComplete,
- which needs to be set as the complete function (or omni function)
- in order to work.
+ which can be set as the complete function (or omni function) for
+ any filetype. If you have a working mutt setup with query_command
+ configured, the plugin works out of the box.

Example:
let g:qcc_query_command='abook'
@@ -25,7 +28,8
Settings:
g:qcc_query_command
External command that queries for contacts
- default: `mutt -Q query_command`
+ If empty, QueryCommandComplete tries to guess what command to
+ run by executing `mutt -Q query_command`.

g:qcc_line_separator
Separator for each entry in the result from the query

Modified plugin/querycommandcomplete.vim

@@ -9,14 +9,17
" to any other kind of functionality by modifying the exposed setting
" parameters.
"
-" Last Change: 2012 Jul 15
+" Last Change: 2012 Sep 17
" Maintainer: Caio Romão <caioromao@gmail.com>
" License: This file is placed in the public domain
+" Contributors:
+" Brian Henderson <https://github.com/bhenderson>
"
" Setup:
" This plugin exports the completion function QueryCommandComplete,
-" which needs to be set as the complete function (or omni function)
-" in order to work.
+" which can be set as the complete function (or omni function) for
+" any filetype. If you have a working mutt setup with query_command
+" configured, the plugin works out of the box.
"
" Example:
" let g:qcc_query_command='abook'
@@ -25,7 +28,8
" Settings:
" g:qcc_query_command
" External command that queries for contacts
-" default: `mutt -Q query_command`
+" If empty, QueryCommandComplete tries to guess what command to
+" run by executing `mutt -Q query_command`.
"
" g:qcc_line_separator
" Separator for each entry in the result from the query