From d25530958326c8c4aa5455d6d6590380d1c7dd04 Mon Sep 17 00:00:00 2001 From: anekos Date: Sat, 24 Jan 2009 19:01:03 +0000 Subject: PLUGIN_INFO 追加 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28985 d0d07461-0603-4401-acd4-de1884942a52 --- migemized_find.js | 116 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 83 insertions(+), 33 deletions(-) (limited to 'migemized_find.js') diff --git a/migemized_find.js b/migemized_find.js index 3398f12..ba65de4 100644 --- a/migemized_find.js +++ b/migemized_find.js @@ -1,36 +1,86 @@ -// ==VimperatorPlugin== -// @name Migemized Find -// @description-ja デフォルトのドキュメント内検索をミゲマイズする。 -// @license Creative Commons 2.1 (Attribution + Share Alike) -// @version 2.6 -// ==/VimperatorPlugin== -// -// Usage: -// 検索ワードの一文字目が -// '/' => 正規表現検索 -// '?' => Migemo検索 -// 以外 => Migemo検索 -// -// :ml <検索ワード> [-c <色>] -// :migelight <検索ワード> [-c <色>] -// 検索ワードを指定色で強調表示する。 -// -// :ml! <色1> <色2> ... <色N> -// :migelight! <色1> <色2> ... <色N> -// 指定の色の強調表示を消す -// -// :ml! all -// :migelight! all -// 全ての強調表示を消す。 -// -// let g:migemized_find_language = "cat"; -// ミ言語設定 -// -// Author: -// anekos -// -// Link: -// http://d.hatena.ne.jp/nokturnalmortum/20080805#1217941126 +/* {{{ +Copyright (c) 2008, anekos. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + 3. The names of the authors may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + + +################################################################################### +# http://sourceforge.jp/projects/opensource/wiki/licenses%2Fnew_BSD_license # +# に参考になる日本語訳がありますが、有効なのは上記英文となります。 # +################################################################################### + +}}} */ + +// PLUGIN_INFO {{{ +let PLUGIN_INFO = + + Migemized Find + Migemized Find + Migemize default page search. + デフォルトのドキュメント内検索をミゲマイズする。 + 2.7 + anekos + new BSD License (Please read the source code comments of this plugin) + 修正BSDライセンス (ソースコードのコメントを参照してください) + 2.0pre + 2.0pre + 正規表現検索 + '?' => Migemo検索 + 以外 => Migemo検索 + + 検索ワードを指定色で強調表示する: + >|| + :ml <検索ワード> [-c <色>] + :migelight <検索ワード> [-c <色>] + ||< + + 指定の色の強調表示を消す: + >|| + :ml! <色1> <色2> ... <色N> + :migelight! <色1> <色2> ... <色N> + ||< + + 全ての強調表示を消す: + >|| + :ml! all + :migelight! all + ||< + + ミ言語設定: + >|| + let g:migemized_find_language = "cat"; + ||< + + == Link == + http://d.hatena.ne.jp/nokturnalmortum/20080805#1217941126 + ]]> +; +// }}} + (function () { -- cgit v1.2.3