diff options
| author | Miguel Mora Perea <42681212+miguelmoraperea@users.noreply.github.com> | 2021-09-13 11:25:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-13 20:25:24 +0200 |
| commit | 6d1440a8e5af43d50b0c1b744c1d88df927f1ea0 (patch) | |
| tree | 44e8749e5b9d2126c76d1f18c851374bb02f6db9 /README.md | |
| parent | 29997233bc3be5c26c06575f977a334afe675a5f (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.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> ``` |
