aboutsummaryrefslogtreecommitdiffstats
path: root/my-style.js
diff options
context:
space:
mode:
authoranekos2011-09-07 21:48:09 +0900
committeranekos2011-09-07 21:48:09 +0900
commit099644889e24d037facccdc1fe7e13b80bcc8b09 (patch)
tree9c86e595e6328b8b07e7222b7a5897015834ac03 /my-style.js
parent498bb2abfc44bfcfdfabb0006b5b18bef9cec40d (diff)
downloadvimperator-plugins-099644889e24d037facccdc1fe7e13b80bcc8b09.tar.bz2
現在適用済みのURLを補完候補に
Diffstat (limited to 'my-style.js')
-rw-r--r--my-style.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/my-style.js b/my-style.js
index 9452d1f..722e93e 100644
--- a/my-style.js
+++ b/my-style.js
@@ -189,6 +189,19 @@ EOM
context.compare = null;
context.completions = cs;
+
+ context.fork(
+ 'CURRENT',
+ 0,
+ context,
+ function (context, args) {
+ context.title = ['Style set URL'];
+ context.completions = [
+ [url, css]
+ for ([url, css] in Iterator(Currents))
+ ];
+ }
+ );
}
function styleCompleter (context, args) {