aboutsummaryrefslogtreecommitdiffstats
path: root/char-hints-mod2.js
diff options
context:
space:
mode:
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;