From 6d1440a8e5af43d50b0c1b744c1d88df927f1ea0 Mon Sep 17 00:00:00 2001 From: Miguel Mora Perea <42681212+miguelmoraperea@users.noreply.github.com> Date: Mon, 13 Sep 2021 11:25:24 -0700 Subject: [PATCH] fix: Docs missing quotes around 'prompt_prefix' (#1238) The 'prompt_prefix' must be wrap in quotes when passed as part of lua table options when calling a Telescope built-in function. This commit fixes the missing quotes on the documentation example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b69bd5..99a689c 100644 --- a/README.md +++ b/README.md @@ -760,7 +760,7 @@ and some other functions can be easily changed in custom pickers or built-in fun nnoremap ff :lua require('telescope.builtin').find_files({previewer = false}) -- Change prompt prefix for find_files builtin function: -nnoremap fg :lua require('telescope.builtin').live_grep({ prompt_prefix=🔍 }) +nnoremap fg :lua require('telescope.builtin').live_grep({ prompt_prefix="🔍" }) nnoremap fg :Telescope live_grep prompt_prefix=🔍 ```