Closed BenMcAvoy closed 1 year ago
Note that roblox related settings are not server specific, check the readme, you should do like this:
require("luau-lsp").setup {
sourcemap = {
enable = false, -- disable sourcemap generation (rojo)
},
types = {
roblox = false, -- disable roblox api
},
}
Just in case, for future issues, seems like your rojo version is some old and does not support --watch
flag on sourcemap
command
I installed it with cargo install rojo --version ^7
(it's not in my repos) so is that an outdated version? It's what was on the docs
rojo --version
reports Rojo 7.2.1
Another question I have is why rojo
is required. If I'm doing nothing to do with Roblox, what is it used for?
Rojo is not required at all, you had the incorrect settings, check my previous comments so you can set it up properly and no longer depend of rojo
Oh I see, I forgot the sourcemap disable. Thanks so much! Sorry for being stupid :sweat_smile:
I have
Rojo
installed. I don't have Roblox installed as I'm on linux and I don't want to have anything to do with Roblox at all, just raw Luau. How can I achieve this?It seems to at least work for the most part ignoring the errors.
Here is my lspconfig: