From 656f316aee7f3eadb81549d0c0aeddca907cae38 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Fri, 30 Oct 2020 18:01:27 -0400 Subject: [PATCH] nit: this is a temporary change --- lua/telescope/algos/fzy.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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