Closed JPFrancoia closed 3 weeks ago
Hi @JPFrancoia Could you run checkheath hurl
and share the output?
hurl: require("hurl.health").check()
hurl.nvim health check ~
- OK jq found
- OK prettier found
- OK treesitter[hurl]: installed
- OK hurl.nvim: All good!
Here you are:
hurl: require("hurl.health").check()
hurl.nvim health check ~
- OK jq found
- ERROR prettier not found
- WARNING treesitter[hurl]: missing parser for syntax highlighting. Install "nvim-treesitter/nvim-treesitter" plugin and run ":TSInstall hurl".
- OK hurl.nvim: All good!
I did uninstall the hurl parser for treesitter when I was trying to solve the problem. Having it or not having doesn't change anything from what I could see.
Ok, I see. It should work if you run :TSInstall hurl
. Let me know if any issues. Thanks.
I think treesitter is the problem, even after (re)installing the hurl parser the health check still prints the warning:
Hi, This plugin works well, except that it somehow collides with other stuff. Just setting it up with the below makes me lose some other functionalities of neovim:
For example, I have this mapping to accept a suggestion from Copilot, and it simply doesn't work anymore (pressing the right arrow doesn't accept the suggestion like it's supposed to):
Also, somehow the file detection for go and sql files (and potentially other, I haven't tried) seems to be gone.
The only things I added to make this plugin work were:
I added the "hurl" bit to the ensure installed line
I installed these two plugins (I already had plenary):
Any thoughts?
EDIT:
This line is causing all the troubles: https://github.com/jellydn/hurl.nvim/blob/87ff7860aa5655d87056b6b63fecb1ecd4d0b587/lua/hurl/utils.lua#L201. If I comment it, hurl.nvim works and I get back all the lost functionalities.