lopi-py / luau-lsp.nvim

A luau-lsp extension to improve your experience in neovim.
MIT License
46 stars 10 forks source link

luau-lsp mistakenly identifies src/ as root_dir whenever there's a luaurc file under it #19

Closed Eggflaw closed 5 months ago

Eggflaw commented 5 months ago

I currently have luaurc file in my project but when I put it inside the src directory the root directory becomes {project}/src instead of {project}

This does not happen when I put it outside of src image

Problems caused

lopi-py commented 5 months ago

What is your use case for .luaurc to be under src/ instead of the root dir? .luaurc is used as a root marker

Eggflaw commented 5 months ago

I have no specific reason but I am using roblox-project-template to create my project on top of. In that repo, the .luaurc file is under src/. I don't why it's in there but I assumed it worked fine for them to not cause any issues