aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator/add-url-completer.tw
diff options
context:
space:
mode:
authoranekos2011-07-04 00:33:11 +0900
committeranekos2011-07-04 00:33:11 +0900
commit29b7afc2a407138aa9981894228453c523d45a33 (patch)
tree9cc47a74e186461725792741514fc23c4c3e7b58 /twittperator/add-url-completer.tw
parent0be4cbd03c6467daf4f21a3e37b23e3aadeec6a5 (diff)
downloadvimperator-plugins-29b7afc2a407138aa9981894228453c523d45a33.tar.bz2
展開済みURLがない場合に対応
Diffstat (limited to 'twittperator/add-url-completer.tw')
-rw-r--r--twittperator/add-url-completer.tw2
1 files changed, 1 insertions, 1 deletions
diff --git a/twittperator/add-url-completer.tw b/twittperator/add-url-completer.tw
index 694fa7a..56f0839 100644
--- a/twittperator/add-url-completer.tw
+++ b/twittperator/add-url-completer.tw
@@ -51,7 +51,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
continue;
for (let [, u] in Iterator(t.entities.urls)) {
if (u.expanded_url)
- cs.push([u.expanded_url, t.text]);
+ cs.push([u.expanded_url || u.url, t.text]);
}
}
context.completions = cs;