feat: Add .slnx to C#/F# LSP root detection (#11928)
This commit is contained in:
@@ -732,7 +732,7 @@ export namespace LSPServer {
|
|||||||
|
|
||||||
export const CSharp: Info = {
|
export const CSharp: Info = {
|
||||||
id: "csharp",
|
id: "csharp",
|
||||||
root: NearestRoot([".sln", ".csproj", "global.json"]),
|
root: NearestRoot([".slnx", ".sln", ".csproj", "global.json"]),
|
||||||
extensions: [".cs"],
|
extensions: [".cs"],
|
||||||
async spawn(root) {
|
async spawn(root) {
|
||||||
let bin = Bun.which("csharp-ls", {
|
let bin = Bun.which("csharp-ls", {
|
||||||
@@ -772,7 +772,7 @@ export namespace LSPServer {
|
|||||||
|
|
||||||
export const FSharp: Info = {
|
export const FSharp: Info = {
|
||||||
id: "fsharp",
|
id: "fsharp",
|
||||||
root: NearestRoot([".sln", ".fsproj", "global.json"]),
|
root: NearestRoot([".slnx", ".sln", ".fsproj", "global.json"]),
|
||||||
extensions: [".fs", ".fsi", ".fsx", ".fsscript"],
|
extensions: [".fs", ".fsi", ".fsx", ".fsscript"],
|
||||||
async spawn(root) {
|
async spawn(root) {
|
||||||
let bin = Bun.which("fsautocomplete", {
|
let bin = Bun.which("fsautocomplete", {
|
||||||
|
|||||||
Reference in New Issue
Block a user