chore: Make README.md more beginner friendly

This commit is contained in:
Myzel394 2024-04-14 09:20:00 +02:00
parent 539a0b79a5
commit ad3362506d
No known key found for this signature in database
GPG Key ID: DEC4AAB876F73185

View File

@ -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