Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit 5a41c6a

Browse files
author
connorgmeean
committed
fix(features.telescope): Broken <leader>` keybind if telescope hasn't loaded yet.
1 parent 1e16573 commit 5a41c6a

File tree

1 file changed

+1
-1
lines changed
  • lua/doom/modules/features/telescope

1 file changed

+1
-1
lines changed

lua/doom/modules/features/telescope/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ telescope.binds = function()
100100
{
101101
"`",
102102
function()
103-
require("telescope.builtin").find_files({ cwd = vim.fn.expand("%:p:n") })
103+
vim.cmd(("Telescope find_files cwd=%s"):format(vim.fn.getcwd()))
104104
end,
105105
name = "Browse cwd",
106106
},

0 commit comments

Comments
 (0)