From f21518d1013807f7cb4a6cc992aaa917ff7a6f28 Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 4 Mar 2010 11:26:48 +0000 Subject: 補完候補を文脈にあうようにした git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36929 d0d07461-0603-4401-acd4-de1884942a52 --- feedSomeKeys_3.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'feedSomeKeys_3.js') diff --git a/feedSomeKeys_3.js b/feedSomeKeys_3.js index 1f64a3d..71f002a 100755 --- a/feedSomeKeys_3.js +++ b/feedSomeKeys_3.js @@ -363,8 +363,15 @@ let INFO = context.title = ['name', 'rhs & url']; context.completions = [ [ - map.names[0], - map.feedSomeKeys.rhs + ' for ' + (map.matchingUrls ? map.matchingUrls : 'Global') + {map.names[0]}, + + {map.feedSomeKeys.rhs} + { + args['-ignoreurls'] + ? <> for {map.matchingUrls ? map.matchingUrls : 'Global'} + : '' + } + ] for each (map in findMappings({urls: args['-urls'], ignoreUrls: args['-ignoreurls']})) ]; -- cgit v1.2.3