mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-16 02:45:09 +00:00
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.
This commit is contained in:
@@ -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>
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user