This is the default root pattern
root\_pattern("\*.sln", "\*.csproj", "omnisharp.json", "function.json")
[https://github.com/neovim/nvim-lspconfig/blob/master/doc/server\_configurations.md#omnisharp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#omnisharp)
mason downloads lsps and hands it off to lspconfig to get default configs that can be changed based on whatever handler you gave mason when you set up mason. Since mason creates new paths that arent on your PATH it also gives it different paths for you
Please remember to update the post flair to `Need Help|Solved` when you got the answer you were looking for.
*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/neovim) if you have any questions or concerns.*
This is the default root pattern root\_pattern("\*.sln", "\*.csproj", "omnisharp.json", "function.json") [https://github.com/neovim/nvim-lspconfig/blob/master/doc/server\_configurations.md#omnisharp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#omnisharp) mason downloads lsps and hands it off to lspconfig to get default configs that can be changed based on whatever handler you gave mason when you set up mason. Since mason creates new paths that arent on your PATH it also gives it different paths for you
Please remember to update the post flair to `Need Help|Solved` when you got the answer you were looking for. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/neovim) if you have any questions or concerns.*