diff options
author | anekos | 2011-03-28 00:20:45 +0900 |
---|---|---|
committer | anekos | 2011-03-28 17:17:44 +0900 |
commit | 56a19251a97a715ff0612e15a9a9f8c9a6b99bef (patch) | |
tree | 313c3bc69d79c7833eb0ca5534f26f5853d52fdc /migemized_find.js | |
parent | f839c1d3f7f9098405679e6290ebcdcb21bc509f (diff) | |
download | vimperator-plugins-56a19251a97a715ff0612e15a9a9f8c9a6b99bef.tar.bz2 |
ml! を削除
Diffstat (limited to 'migemized_find.js')
-rw-r--r-- | migemized_find.js | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/migemized_find.js b/migemized_find.js index a833a22..3e9a16b 100644 --- a/migemized_find.js +++ b/migemized_find.js @@ -39,7 +39,7 @@ let PLUGIN_INFO = <name lang="ja">Migemized Find</name> <description>Migemize default page search.</description> <description lang="ja">デフォルトのドキュメント内検索をミゲマイズする。</description> - <version>2.10.0</version> + <version>2.10.1</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <license>new BSD License (Please read the source code comments of this plugin)</license> <license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license> @@ -61,8 +61,8 @@ let PLUGIN_INFO = 指定の色の強調表示を消す: >|| - :ml! <色1> <色2> ... <色N> - :migelight! <色1> <色2> ... <色N> + :rml <色1> <色2> ... <色N> + :removemigelight <色1> <色2> ... <色N> ||< 全ての強調表示を消す: @@ -602,14 +602,9 @@ let PLUGIN_INFO = ['ml', 'migelight'], 'Migelight matched words', function (args) { - if (args.bang) { - let colors = args.join(' ') + ' ' + (args['-color'] || ''); - liberator.execute('removemigelight ' + colors); - } else { - let r = MF.highlightAll(args.join(' '), args['-color']); - liberator.echo(r ? r.length + ' words migelighted.' - : 'word not found.'); - } + let r = MF.highlightAll(args.join(' '), args['-color']); + liberator.echo(r ? r.length + ' words migelighted.' + : 'word not found.'); }, { bang: true, |