From 078c961aa7667ab32fdf8e74bf71f5b75767ec13 Mon Sep 17 00:00:00 2001 From: Dhruv Manilawala Date: Tue, 26 Mar 2024 08:38:16 +0530 Subject: [PATCH] Update README --- README.md | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 60eb025..70a3ef2 100644 --- a/README.md +++ b/README.md @@ -285,19 +285,7 @@ To get started, simply load the extension: require('telescope').load_extension('bookmarks') ``` -To override the default values, provide the options in the extension table -in the `require("telescope").setup` call like so: - -```lua -require('telescope').setup { - extensions = { - bookmarks = { - -- Provide the options here to override the default values. - -- ... - }, - }, -} -``` +To override the default values, use the [setup](#setup) guide. You can open the picker either from the command-line or calling the lua function: @@ -307,7 +295,7 @@ function: Telescope bookmarks " Using lua function -lua require('telescope').extensions.bookmarks.bookmarks(opts) +lua require('telescope').extensions.bookmarks.bookmarks(telescope_opts) ``` Telescope can lazily load the extension when needed, but that can only be