diff options
| author | rockerBOO <rockerboo@gmail.com> | 2020-09-16 13:03:48 -0400 |
|---|---|---|
| committer | rockerBOO <rockerboo@gmail.com> | 2020-09-16 13:03:48 -0400 |
| commit | e92ba423f9624f8e3fc0efcea8b19647a6afaf7c (patch) | |
| tree | b4067d897095accd45957322a855b5ee6a02524f | |
| parent | b8f17075d4bd4f4cb41d1ce89a2a3b2a3bfa54a3 (diff) | |
docs: Add theme documentation
| -rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -283,6 +283,24 @@ require'telescope.builtin'.planets{} 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 ### Pipeline Different Objects |
