diff options
| author | anekos | 2011-09-08 02:24:24 +0900 | 
|---|---|---|
| committer | anekos | 2011-09-08 02:24:24 +0900 | 
| commit | 1b34ce8efecedf432ac7dd40efe2911a50c1370f (patch) | |
| tree | 8d03bcb4a9db983dc9b9bdddb9fce7c2faf78109 | |
| parent | 51175ac9e8e2f798054f50775402035bb44321d0 (diff) | |
| download | vimperator-plugins-1b34ce8efecedf432ac7dd40efe2911a50c1370f.tar.bz2 | |
スタイル名の補完に内容を表示
| -rw-r--r-- | my-style.js | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/my-style.js b/my-style.js index 4c35e31..782ea37 100644 --- a/my-style.js +++ b/my-style.js @@ -229,9 +229,8 @@ EOM    function styleNameCompleter (context) {      context.completions = [ -      [style.name.slice(StyleNamePrefix.length), ''] -      for ([, style] in Iterator(styles)) -      if (style.name.indexOf(StyleNamePrefix) === 0) +      [url, css] +      for ([url, css] in Iterator(Currents))      ];    }  | 
