summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrockerBOO <rockerboo@gmail.com>2020-09-16 13:03:48 -0400
committerrockerBOO <rockerboo@gmail.com>2020-09-16 13:03:48 -0400
commite92ba423f9624f8e3fc0efcea8b19647a6afaf7c (patch)
treeb4067d897095accd45957322a855b5ee6a02524f
parentb8f17075d4bd4f4cb41d1ce89a2a3b2a3bfa54a3 (diff)
docs: Add theme documentation
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
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 <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