From 9e6914051e55ad6e32527e3ba963445eadeb4355 Mon Sep 17 00:00:00 2001
From: anekos
Date: Sat, 20 Mar 2010 11:06:12 +0000
Subject: 2.3対応
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37060 d0d07461-0603-4401-acd4-de1884942a52
---
mkcolor.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
(limited to 'mkcolor.js')
diff --git a/mkcolor.js b/mkcolor.js
index 40870ff..c43bc02 100644
--- a/mkcolor.js
+++ b/mkcolor.js
@@ -39,13 +39,13 @@ let PLUGIN_INFO =
mkcolor
Write current highlights to the specified file.
現在のHighlightを指定のファイルに書き出す。
- 1.0.2
+ 1.0.3
anekos
new BSD License (Please read the source code comments of this plugin)
修正BSDライセンス (ソースコードのコメントを参照してください)
http://coderepos.org/share/export/27234/lang/javascript/vimperator-plugins/trunk/mkcolor.js
- 2.3pre
- 2.3pre
+ 2.3
+ 2.3
@@ -69,7 +69,7 @@ let PLUGIN_INFO =
max = Math.max(h.class.length, max);
for (let h in highlight)
result.push(h.value ? 'hi ' + pad(h.class, max) + ' ' + rmrem(h.value)
- : '// hi ' + h.class);
+ : '" hi ' + h.class);
return result.join("\n");
}
@@ -81,7 +81,7 @@ let PLUGIN_INFO =
let file = io.File(filename);
if (file.exists() && !args.bang)
return liberator.echoerr(filename + ' already exists (add ! to override)');
- io.writeFile(file, getcolor());
+ io.File(file).write(getcolor());
},
{
argCount: '1',
--
cgit v1.2.3