diff options
| author | hogelog | 2008-12-18 22:58:26 +0000 | 
|---|---|---|
| committer | hogelog | 2008-12-18 22:58:26 +0000 | 
| commit | 94f32546f05c71485b73f2e6500a56aa704b3cb9 (patch) | |
| tree | b498feeab263aa20e26f6bacad4e410b58b8a44f | |
| parent | ed251f69adfccbcd1e6d6157d997e5dba0b53abd (diff) | |
| download | vimperator-plugins-94f32546f05c71485b73f2e6500a56aa704b3cb9.tar.bz2 | |
 * use command :highlight to show character.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27045 d0d07461-0603-4401-acd4-de1884942a52
| -rw-r--r-- | char-hints-mod2.js | 10 | 
1 files changed, 2 insertions, 8 deletions
| diff --git a/char-hints-mod2.js b/char-hints-mod2.js index 78cc07a..8fce297 100644 --- a/char-hints-mod2.js +++ b/char-hints-mod2.js @@ -138,10 +138,7 @@ set histchars="hjkl" => show char-hint use h, j, k, l.              hints.onEvent = charhints.onEvent;
              liberator.eval("onInput = plugins.charhints.onInput", hintContext);
 -            highlight.CSS = highlight.CSS.replace(
 -                    "Hint::after,,*  content: attr(number);",
 -                    "Hint::after,,*  content: attr(hintchar);");
 -            highlight.reload();
 +            liberator.execute(":hi Hint::after content: attr(hintchar)");
          }; //}}}
          charhints.uninstall = function () //{{{
          {
 @@ -149,10 +146,7 @@ set histchars="hjkl" => show char-hint use h, j, k, l.              hints.onEvent = charhints.original.onEvent;
              liberator.eval("onInput = plugins.charhints.original.onInput", hintContext);
 -            highlight.CSS = highlight.CSS.replace(
 -                    "Hint::after,,*  content: attr(hintchar);",
 -                    "Hint::after,,*  content: attr(number);");
 -            highlight.reload();
 +            liberator.execute(":hi Hint::after content: attr(number)");
          }; //}}}
      }
      charhints.install();
 | 
