diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2020-10-30 18:01:27 -0400 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-10-30 18:01:27 -0400 |
| commit | 656f316aee7f3eadb81549d0c0aeddca907cae38 (patch) | |
| tree | 7015e100e108eb2d09931e088d36f44c8baedab6 /lua/telescope/algos | |
| parent | 78cf7ebd7f2dcfcf6fec1d0195ccf46cb479d72c (diff) | |
nit: this is a temporary change
Diffstat (limited to 'lua/telescope/algos')
| -rw-r--r-- | lua/telescope/algos/fzy.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lua/telescope/algos/fzy.lua b/lua/telescope/algos/fzy.lua index 2b4b8ec..93206a9 100644 --- a/lua/telescope/algos/fzy.lua +++ b/lua/telescope/algos/fzy.lua @@ -7,7 +7,12 @@ -- > matches on consecutive letters and starts of words. This allows matching -- > using acronyms or different parts of the path." - J Hawthorn -local path = require('telescope.path') +local has_path, path = pcall(require, 'telescope.path') +if not has_path then + path = { + separator = '/' + } +end local SCORE_GAP_LEADING = -0.005 local SCORE_GAP_TRAILING = -0.005 |
