jmbuhr / otter.nvim

Just ask an otter! 🦦
MIT License
502 stars 11 forks source link

Installing quarto in Noevim produces multiple errors. #138

Closed gfvioli closed 3 months ago

gfvioli commented 3 months ago

I'm doing the most basic installation of quarto possible, like this:

image

This is producing the following error message:

image

Additionally, as soon as I add a quarto.lua file in my plugins directory (I'm using Lazy), the commnad :Mason produces the following error: image

Any ideas what might be going on?

jmbuhr commented 3 months ago

otter.nvim is attaching language servers to buffers created behind the scenes that correspond to one for each type of code chunk in your quarto document (e.g. R, python etc.). That means, if one of those is not configured correctly you will also get an error. Do you get the same error when you just have a file of that type (R, python etc.)?

gfvioli commented 3 months ago

Thanks for the prompt reply Jannik. Although I just realized I was on the wrong github page when creating the issue (I meant to start it on quarto-nvim's gh page).

I literally get this as soon as I create & save the quatro.lua file in my plugins folder of my config, no files for neither R or python at needed at all.

jmbuhr commented 3 months ago

I'm going to need a little more information, especially because the error doesn't get raised from one of my plugins, but rather by mason.

gfvioli commented 3 months ago

I'm more than happy to give you the information, I just don't know what you need. I'm early into my Neovim journey and not really sure I understand what's going on to be able to judge by myself what information do you need.

jmbuhr commented 3 months ago

I'd suggest starting your search in the file where the error message says the error is (this can of course be misleading, but is usually a good starting point).