docs: Add theme documentation

This commit is contained in:
rockerBOO
2020-09-16 13:03:48 -04:00
parent b8f17075d4
commit e92ba423f9

View File

@@ -283,6 +283,24 @@ require'telescope.builtin'.planets{}
Use the telescope. Use the telescope.
## Themes
Common groups of settings can be setup to allow for themes. We have some built in themes but are looking for more cool options.
Right now here is how we do it in lua. Working on a simplier integration with vimscript for bindings.
```vim
nnoremap <Leader>f :lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({}))<cr>
```
Then you can put your configuration into `get_dropdown`
```vim
nnoremap <Leader>f :lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({ winblend = 10 }))<cr>
```
If you wish to make theme, check out `lua/telescope/themes.lua`. If you need more features make an issue :).
## Goals ## Goals
### Pipeline Different Objects ### Pipeline Different Objects