summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Mora Perea <42681212+miguelmoraperea@users.noreply.github.com>2021-09-13 11:25:24 -0700
committerGitHub <noreply@github.com>2021-09-13 20:25:24 +0200
commit6d1440a8e5af43d50b0c1b744c1d88df927f1ea0 (patch)
tree44e8749e5b9d2126c76d1f18c851374bb02f6db9
parent29997233bc3be5c26c06575f977a334afe675a5f (diff)
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.
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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 <leader>ff :lua require('telescope.builtin').find_files({previewer = false})<cr>
-- Change prompt prefix for find_files builtin function:
-nnoremap <leader>fg :lua require('telescope.builtin').live_grep({ prompt_prefix=🔍 })<cr>
+nnoremap <leader>fg :lua require('telescope.builtin').live_grep({ prompt_prefix="🔍" })<cr>
nnoremap <leader>fg :Telescope live_grep prompt_prefix=🔍<cr>
```