summaryrefslogtreecommitdiff
path: root/lua/telescope/make_entry.lua
diff options
context:
space:
mode:
authorTimUntersberger <32014449+TimUntersberger@users.noreply.github.com>2020-09-12 23:02:10 +0200
committerGitHub <noreply@github.com>2020-09-12 17:02:10 -0400
commit3a9b25e6bf49e24794cfb06d1a2e2585f8de2ca9 (patch)
treecdda92a88b697e608b28507c54e8e99bd2e1e762 /lua/telescope/make_entry.lua
parent30536f753b72be9ce6806781d19d77f16012b21e (diff)
feat: builtin.commands (#54)
* fix: use correct path separator on windows * fix: add utils.get_separator * asdf * feat: add builtin.commands * change commands sorter * change sorter * change sorter
Diffstat (limited to 'lua/telescope/make_entry.lua')
-rw-r--r--lua/telescope/make_entry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua
index 35fef98..3ae4de5 100644
--- a/lua/telescope/make_entry.lua
+++ b/lua/telescope/make_entry.lua
@@ -70,7 +70,7 @@ function make_entry.gen_from_file(opts)
entry_type = make_entry.types.FILE,
filename = line,
- path = cwd .. '/' .. line,
+ path = cwd .. utils.get_separator() .. line,
}
entry.display = make_display(line)