Open sujitawake opened 1 week ago
Hmm, so for me using two files telescope.lua
and jsonfly.lua
- with telescope loading jsonfly inside "config" works fine - maybe you can try doing that?
You can also take a look at my dotfiles, specifically telescope.lua
https://github.com/Myzel394/dotfiles/blob/14e4c7b28b95b7e1438bbbdc95fdef4dfcd75f3b/nvim/lua/plugins/telescope.lua
Great. I will take a look at your telescope.lua
configs, add the changes, and see if that resolves the issue.
In the mean time, if you could also share the configs for jsonfly.lua
that goes under ~/.config/nvim/lua/plugins/
, it would help me diff the changes with yours. Maybe that would provide hint stating why mine doesn't work in the first place !?
I removed the jsonfly.lua
again merged it into the telescope.lua
- but I just copied your provided example.
@sujitawake did you find a solution to your problem?
I am trying to to install the
jsonfly
plugin on a fresh linux box. It is one of my favorite plugins I use on a regular basis to deal with many JSON files on a regular basis.I use lazyvim distribution and use Lazy since it is the default package manager. Below are the methods I followed to install the plugin:
jsonfly.lua
under~/.config/nvim/lua/plugins/
directory.init.lua
which is under~/.config/nvim/
Load jsonfly
require("telescope").load_extension("jsonfly")
NVIM v0.9.5 Build type: Release LuaJIT 2.1.1703358377
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim"
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068 Run "nvim -V1 -v" for more info