aboutsummaryrefslogtreecommitdiffstats
path: root/char-hints-mod2.js
diff options
context:
space:
mode:
authordrry2009-01-09 19:29:29 +0000
committerdrry2009-01-09 19:29:29 +0000
commit75d1415b8b03dfb50f08d00e53c013f6b390368a (patch)
tree39b43db35c67490fc64a5b66c9b3c5a43bacea8e /char-hints-mod2.js
parente58241048c76a7ab49487662ebc6854e06c481d1 (diff)
downloadvimperator-plugins-75d1415b8b03dfb50f08d00e53c013f6b390368a.tar.bz2
* cosmetic changes.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28232 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'char-hints-mod2.js')
-rw-r--r--char-hints-mod2.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/char-hints-mod2.js b/char-hints-mod2.js
index fcd2ec5..c44b40e 100644
--- a/char-hints-mod2.js
+++ b/char-hints-mod2.js
@@ -19,7 +19,7 @@ select charhint label in uppercase.
== SETTING ==
let g:hinstchars:
set character used by char-hint.
- ex)
+ e.g.)
let g:hinstchars="hjkl"
let g:hintsio:
- "i" setting char-hint input lowercase.
@@ -27,7 +27,7 @@ let g:hintsio:
- "o" setting char-hint show lowercase.
- "O" setting char-hint show uppercase.
Default setting is "IO".
- ex)
+ e.g.)
let g:histsio="i"
== TODO ==
@@ -41,7 +41,7 @@ let g:hintsio:
== SETTING ==
let g:hinstchars:
set character used by char-hint.
- ex)
+ e.g.)
let g:hinstchars="hjkl"
let g:hintsio:
- "i" setting char-hint input lowercase.
@@ -49,7 +49,7 @@ let g:hintsio:
- "o" setting char-hint show lowercase.
- "O" setting char-hint show uppercase.
Default setting is "IO".
- ex)
+ e.g.)
let g:histsio="i"
== TODO ==
@@ -203,9 +203,7 @@ let g:hintsio:
liberator.execute(":hi Hint::after content: attr(hintchar)");
if(liberator.globalVariables.hintsio) {
let hintsio = liberator.globalVariables.hintsio;
- for(let i=0,l=hintsio.length;i<l;++i) {
- setIOType(hintsio[i]);
- }
+ for(let i=hintsio.length;i-->0;setIOType(hintsio[i]));
}
if(liberator.globalVariables.hintchars) {
hintchars = liberator.globalVariables.hintchars;