mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-08 18:40:29 +00:00
feat: Add .slnx to C#/F# LSP root detection (#11928)
This commit is contained in:
parent
416964acd0
commit
60e616ec81
1 changed files with 2 additions and 2 deletions
|
|
@ -732,7 +732,7 @@ export namespace LSPServer {
|
|||
|
||||
export const CSharp: Info = {
|
||||
id: "csharp",
|
||||
root: NearestRoot([".sln", ".csproj", "global.json"]),
|
||||
root: NearestRoot([".slnx", ".sln", ".csproj", "global.json"]),
|
||||
extensions: [".cs"],
|
||||
async spawn(root) {
|
||||
let bin = Bun.which("csharp-ls", {
|
||||
|
|
@ -772,7 +772,7 @@ export namespace LSPServer {
|
|||
|
||||
export const FSharp: Info = {
|
||||
id: "fsharp",
|
||||
root: NearestRoot([".sln", ".fsproj", "global.json"]),
|
||||
root: NearestRoot([".slnx", ".sln", ".fsproj", "global.json"]),
|
||||
extensions: [".fs", ".fsi", ".fsx", ".fsscript"],
|
||||
async spawn(root) {
|
||||
let bin = Bun.which("fsautocomplete", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue