From ad3362506d239584203d63cac712f7c13fd8e201 Mon Sep 17 00:00:00 2001 From: Myzel394 <50424412+Myzel394@users.noreply.github.com> Date: Sun, 14 Apr 2024 09:20:00 +0200 Subject: [PATCH] chore: Make README.md more beginner friendly --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index ba0effd..84fce9c 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,20 @@ Go to a JSON file and run: ## Configuration +Edit jsonfly like any other Telescope extension: + +```lua +require"telescope".setup { + extensions = { + jsonfly = { + -- Your configuration here + } + } +} +``` + Please see [jsonfly.lua](https://github.com/Myzel394/jsonfly/blob/main/lua/telescope/_extensions/jsonfly.lua) for the default configuration. +The first comment in the file contains a list of all available options. ### Example: Vertical layout