ggandor / lightspeed.nvim

deprecated in favor of leap.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newly installed lightspeed.nvim throws error. Doesn't override nvim defaults.

diningPhilosopher64 opened this issue · comments

After installing lightspeed, when I open a new instance of lunarvim ( wrapper for neovim ). I'm seeing the following error

 Error detected while processing /home/sourabh/.local/share/lunarvim/site/pack/packer/start/lightspeed.nvim/plugin/init.lua:
E5113: Error while calling lua chunk: ...m/site/pack/packer/start/lightspeed.nvim/plugin/init.lua:26: attempt to index field 'keymap' (a nil value)
stack traceback:
        ...m/site/pack/packer/start/lightspeed.nvim/plugin/init.lua:26: in main chunk

Because of the above error, the neovim defaults such as s is not being overridden by the lightspeed plugin.

Other help related options provided in Readme.Md aren't working too.

Screenshot of the error mentioned above:
image

The problem is that the vim.keymap.set function is not available. You should check the Neovim version (0.7.0 should be okay).

Thank you!