From 06c8a420e8cad7b1b98170dd772de052ea5c7c58 Mon Sep 17 00:00:00 2001 From: Myzel394 <50424412+Myzel394@users.noreply.github.com> Date: Fri, 12 Apr 2024 22:29:23 +0200 Subject: [PATCH] fix(docs): Small fixes in README.md --- README.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 047505a..c696d5a 100644 --- a/README.md +++ b/README.md @@ -21,28 +21,28 @@ Install with your favorite plugin manager, for example with [lazy.nvim](https:// -- Other dependencies -- .. "Myzel394/jsonfly.nvim", - }, -}, + } +} ``` -Here's how I load it with lazy.nvim with lazy-loading :) +Here's how I load it with lazy.nvim with lazy-loading and `j` as the keymap :) ```lua - { - "nvim-telescope/telescope.nvim", - dependencies = { - "Myzel394/jsonfly.nvim", - }, - keys = { - { - "j", - "Telescope jsonfly", - desc = "Open json(fly)", - ft = { "json" }, - mode = "n" - }, - } +{ + "nvim-telescope/telescope.nvim", + dependencies = { + "Myzel394/jsonfly.nvim", }, + keys = { + { + "j", + "Telescope jsonfly", + desc = "Open json(fly)", + ft = { "json" }, + mode = "n" + } + } +} ``` Load the extension with: @@ -106,5 +106,5 @@ require"telescope".setup { ## Acknowledgements -- JSON parsing is done with [Jeffrey Friedl's JSON library](http://regex.info/blog/lua/json +- JSON parsing is done with [Jeffrey Friedl's JSON library](http://regex.info/blog/lua/json)