refactor telescope command (#398)
* refactor telescope command * addd telescope default options support * fix variable name wrong * convert command line string to lua type * add comment. * update readme for use theme in commandline * enhance complete in commandline * enhance complete in commandline * enhance covert commandline options
This commit is contained in:
@@ -510,6 +510,10 @@ nnoremap <Leader>f :lua require'telescope.builtin'.find_files(require('telescope
|
||||
" Change an option
|
||||
nnoremap <Leader>f :lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({ winblend = 10 }))<cr>
|
||||
```
|
||||
or use with command:
|
||||
```vim
|
||||
Telescope find_files theme=get_dropdown
|
||||
```
|
||||
|
||||
Themes should work with every `telescope.builtin` function. If you wish to
|
||||
make theme, check out `lua/telescope/themes.lua`.
|
||||
|
||||
Reference in New Issue
Block a user