From e92ba423f9624f8e3fc0efcea8b19647a6afaf7c Mon Sep 17 00:00:00 2001 From: rockerBOO Date: Wed, 16 Sep 2020 13:03:48 -0400 Subject: [PATCH 1/2] 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 From 2766cb24ca42adeb66c55f192be2267c535a0548 Mon Sep 17 00:00:00 2001 From: rockerBOO Date: Wed, 16 Sep 2020 13:07:27 -0400 Subject: [PATCH 2/2] fix: Removing old language --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6c03cb9..8955965 100644 --- a/README.md +++ b/README.md @@ -287,19 +287,17 @@ Use the telescope. 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` +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 :). +If you wish to make theme, check out `lua/telescope/themes.lua`. If you need more features, make an issue :). ## Goals