aboutsummaryrefslogtreecommitdiffstats
path: root/erection.js
diff options
context:
space:
mode:
authoranekos2012-05-03 18:21:51 +0900
committeranekos2012-05-03 18:22:10 +0900
commitc1f885f94c82a4959c42491b6b78d053c318cfc7 (patch)
tree0818e674f4df4d91491864af522a5dd7e800b26c /erection.js
parent786ba33df93b9f24ad82550302d36d0eb825c639 (diff)
downloadvimperator-plugins-c1f885f94c82a4959c42491b6b78d053c318cfc7.tar.bz2
Improve erection completer.
Diffstat (limited to 'erection.js')
-rw-r--r--erection.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/erection.js b/erection.js
index 172941e..829cb46 100644
--- a/erection.js
+++ b/erection.js
@@ -35,7 +35,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
// INFO {{{
let INFO =
<>
- <plugin name="erection" version="1.0.0"
+ <plugin name="erection" version="1.0.1"
href="http://vimpr.github.com/"
summary="Show the Erection."
lang="en-US"
@@ -55,7 +55,7 @@ let INFO =
<description><p>Show erected text with the image.</p></description>
</item>
</plugin>
- <plugin name="エレクチオン" version="1.0.0"
+ <plugin name="エレクチオン" version="1.0.1"
href="http://vimpr.github.com/"
summary="どうしてなの――ッ!! どうしてエレクチオンしないのよーッ!!"
lang="ja"
@@ -182,6 +182,8 @@ let INFO =
context.compare = false;
context.incomplete = true;
+ context.filters = [CompletionContext.Filter.textDescription];
+
erect(function (erections) {
context.completions = [
[n + ': ' + e.text, e.by + (e.from || '')]