summaryrefslogtreecommitdiff
path: root/plugin/fzf.vim
diff options
context:
space:
mode:
authorChristoph Anton Mitterer <mail@christoph.anton.mitterer.name>2023-09-26 23:27:33 +0200
committerJunegunn Choi <junegunn.c@gmail.com>2023-10-12 20:44:25 +0900
commit86fe40708b330b27107aab9719f7f11ecca00593 (patch)
treee6e66695154f5ce45a41c4cc57ecfb2220264e2f /plugin/fzf.vim
parentd718747c5b115838af7ceaf0d4a7f1c84ed7d98b (diff)
downloadfzf-86fe40708b330b27107aab9719f7f11ecca00593.tar.gz
[bash] statically define __fzf_list_hosts() with either method
When bash-completion (and thus `_known_hosts_real()`) is / is not available this will typically not change during the lifetime of a shell. The only exception is if the user would unset `_known_hosts_real()`, but well, that would be his problem. So we can easily define `__fzf_list_hosts()` either using `_known_hosts_real()` or using the old code, and avoid checking every time whether `_known_hosts_real()` is defined. Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Diffstat (limited to 'plugin/fzf.vim')
0 files changed, 0 insertions, 0 deletions