From e92ba423f9624f8e3fc0efcea8b19647a6afaf7c Mon Sep 17 00:00:00 2001 From: rockerBOO Date: Wed, 16 Sep 2020 13:03:48 -0400 Subject: [PATCH] docs: Add theme documentation --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 7573484..6c03cb9 100644 --- a/README.md +++ b/README.md @@ -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 f :lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({})) +``` + +Then you can put your configuration into `get_dropdown` + +```vim +nnoremap f :lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({ winblend = 10 })) +``` + +If you wish to make theme, check out `lua/telescope/themes.lua`. If you need more features make an issue :). + ## Goals ### Pipeline Different Objects