Robitx / gp.nvim

Gp.nvim (GPT prompt) Neovim AI plugin: ChatGPT sessions & Instructable text/code operations & Speech to text [OpenAI]
MIT License
537 stars 49 forks source link

Error opening Gpt Window, whisper not working #119

Open stefanlenoach opened 3 months ago

stefanlenoach commented 3 months ago

Running into a strange error since I installed the plugin:

Error executing Lua callback: ~/.local/share/nvim/lazy/gp.nvim/lua/gp/init.lua:1607
: BufEnter Autocommands for "*": Vim(append):Error running markdownlint: ENOENT: no such file
or directory
stack traceback:
        [C]: in function 'nvim_command'
        ~/.local/share/nvim/lazy/gp.nvim/lua/gp/init.lua:1607: in function 'open_bu
f'
        ~/.local/share/nvim/lazy/gp.nvim/lua/gp/init.lua:1704: in function <~/.local/share/nvim/lazy/gp.nvim/lua/gp/init.lua:1648>
        ~/.local/share/nvim/lazy/gp.nvim/lua/gp/init.lua:796: in function <~/.local/share/nvim/lazy/gp.nvim/lua/gp/init.lua:795>

This doesn't stop me from running the plugin normally, it just pops up this error message everytime i create a new window for GPT. The same error pops up when I try the whisper functionality, this doesn't work after I speak and press enter.

Tried globally installing markdownlint (npm i -g markdownlint) which didn't have any effect.

Any help is much appreciated, have to admit I am a bit of a (n)vim newbie. Thanks!