From 2f4d5c68c4827c7a614fdcdfd48a62cbb804bbf9 Mon Sep 17 00:00:00 2001 From: can1357 Date: Sun, 26 Apr 2026 07:21:42 +0200 Subject: [PATCH] feat(coding-agent-lsp): removed built-in taplo from lsp defaults - Removed built-in `taplo` from `src/lsp/defaults.json`, so TOML files no longer start a default LSP server. - Condensed many `defaults.json` arrays and option blocks to a compact single-line style. --- packages/coding-agent/CHANGELOG.md | 8 +- packages/coding-agent/src/lsp/defaults.json | 794 ++++---------------- 2 files changed, 146 insertions(+), 656 deletions(-) diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index 5c21bfafc..1ccddcc44 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -1,7 +1,6 @@ # Changelog ## [Unreleased] - ### Breaking Changes - Replaced the legacy `gh_repo_view`, `gh_issue_view`, `gh_pr_view`, `gh_pr_diff`, `gh_pr_checkout`, `gh_pr_push`, `gh_run_watch`, `gh_search_issues`, and `gh_search_prs` tool names with only `github`, which requires updating existing callers that invoked the old `gh_*` tools @@ -9,22 +8,23 @@ ### Added - Added a `sed` verb to the `atom` edit tool for line-local substitutions using sed-style syntax (`s/pattern/replacement/`) with `g`, `i`, and `F` flags and model-tolerant delimiter choices -- - Added the unified `github` tool with op-based dispatch for repository, issue, pull request, search, checkout, push, and Actions watch workflows - Added `op` routing so callers can select `repo_view`, `issue_view`, `pr_view`, `pr_diff`, `pr_checkout`, `pr_push`, `search_issues`, `search_prs`, or `run_watch` through a single tool entry point ### Changed - Changed hashline-based read and match output formatting to use `LINE+ID|content` as the anchor/content separator, and updated match/context markers to `>` for matches and `:` for context -- - Updated GitHub CLI render output to show `GitHub ` for tool calls dispatched through `github` operations +### Removed + +- Removed the built-in `taplo` Language Server entry from default LSP settings, so TOML files no longer have default TOML server startup + ### Fixed - Fixed `atom` `loc` parsing so path-qualified anchors like `path:263ti| ...` and single-anchor locs containing hyphens no longer mis-parse as ranges - Fixed hashline anchor handling in `atom` edits so a provided content hint after the anchor (`|` or `:` suffix) can rebond a stale hash to the intended line - Fixed `atom` `sed` execution to tolerate common model-emitted forms such as `/pat/rep/`, and to apply safe literal fallbacks for regex failures or metacharacter-heavy patterns while still erroring when no match is possible -- ## [14.4.0] - 2026-04-26 diff --git a/packages/coding-agent/src/lsp/defaults.json b/packages/coding-agent/src/lsp/defaults.json index d1b495a61..db96a964f 100644 --- a/packages/coding-agent/src/lsp/defaults.json +++ b/packages/coding-agent/src/lsp/defaults.json @@ -2,13 +2,8 @@ "rust-analyzer": { "command": "rust-analyzer", "args": [], - "fileTypes": [ - ".rs" - ], - "rootMarkers": [ - "Cargo.toml", - "rust-analyzer.toml" - ], + "fileTypes": [".rs"], + "rootMarkers": ["Cargo.toml", "rust-analyzer.toml"], "initOptions": {}, "settings": {}, "capabilities": { @@ -21,70 +16,27 @@ }, "tlaplus": { "command": "tlapm_lsp", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".tla", - ".tlaplus" - ], - "rootMarkers": [ - "*.tla" - ] + "args": ["--stdio"], + "fileTypes": [".tla", ".tlaplus"], + "rootMarkers": ["*.tla"] }, "clangd": { "command": "clangd", - "args": [ - "--background-index", - "--clang-tidy", - "--header-insertion=iwyu" - ], - "fileTypes": [ - ".c", - ".cpp", - ".cc", - ".cxx", - ".h", - ".hpp", - ".hxx", - ".m", - ".mm" - ], - "rootMarkers": [ - "compile_commands.json", - "CMakeLists.txt", - ".clangd", - ".clang-format", - "Makefile" - ] + "args": ["--background-index", "--clang-tidy", "--header-insertion=iwyu"], + "fileTypes": [".c", ".cpp", ".cc", ".cxx", ".h", ".hpp", ".hxx", ".m", ".mm"], + "rootMarkers": ["compile_commands.json", "CMakeLists.txt", ".clangd", ".clang-format", "Makefile"] }, "zls": { "command": "zls", "args": [], - "fileTypes": [ - ".zig" - ], - "rootMarkers": [ - "build.zig", - "build.zig.zon", - "zls.json" - ] + "fileTypes": [".zig"], + "rootMarkers": ["build.zig", "build.zig.zon", "zls.json"] }, "gopls": { "command": "gopls", - "args": [ - "serve" - ], - "fileTypes": [ - ".go", - ".mod", - ".sum" - ], - "rootMarkers": [ - "go.mod", - "go.work", - "go.sum" - ], + "args": ["serve"], + "fileTypes": [".go", ".mod", ".sum"], + "rootMarkers": ["go.mod", "go.work", "go.sum"], "settings": { "gopls": { "analyses": { @@ -98,22 +50,9 @@ }, "typescript-language-server": { "command": "typescript-language-server", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".ts", - ".tsx", - ".js", - ".jsx", - ".mjs", - ".cjs" - ], - "rootMarkers": [ - "package.json", - "tsconfig.json", - "jsconfig.json" - ], + "args": ["--stdio"], + "fileTypes": [".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs"], + "rootMarkers": ["package.json", "tsconfig.json", "jsconfig.json"], "initOptions": { "hostInfo": "omp-coding-agent", "preferences": { @@ -125,40 +64,15 @@ }, "biome": { "command": "biome", - "args": [ - "lsp-proxy" - ], - "fileTypes": [ - ".ts", - ".tsx", - ".js", - ".jsx", - ".mjs", - ".cjs", - ".json", - ".jsonc" - ], - "rootMarkers": [ - "biome.json", - "biome.jsonc" - ], + "args": ["lsp-proxy"], + "fileTypes": [".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs", ".json", ".jsonc"], + "rootMarkers": ["biome.json", "biome.jsonc"], "isLinter": true }, "eslint": { "command": "vscode-eslint-language-server", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".ts", - ".tsx", - ".js", - ".jsx", - ".mjs", - ".cjs", - ".vue", - ".svelte" - ], + "args": ["--stdio"], + "fileTypes": [".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs", ".vue", ".svelte"], "rootMarkers": [ ".eslintrc", ".eslintrc.js", @@ -175,20 +89,9 @@ }, "denols": { "command": "deno", - "args": [ - "lsp" - ], - "fileTypes": [ - ".ts", - ".tsx", - ".js", - ".jsx" - ], - "rootMarkers": [ - "deno.json", - "deno.jsonc", - "deno.lock" - ], + "args": ["lsp"], + "fileTypes": [".ts", ".tsx", ".js", ".jsx"], + "rootMarkers": ["deno.json", "deno.jsonc", "deno.lock"], "initOptions": { "enable": true, "lint": true, @@ -197,140 +100,60 @@ }, "vscode-html-language-server": { "command": "vscode-html-language-server", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".html", - ".htm" - ], - "rootMarkers": [ - "package.json", - ".git" - ], + "args": ["--stdio"], + "fileTypes": [".html", ".htm"], + "rootMarkers": ["package.json", ".git"], "initOptions": { "provideFormatter": true } }, "vscode-css-language-server": { "command": "vscode-css-language-server", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".css", - ".scss", - ".sass", - ".less" - ], - "rootMarkers": [ - "package.json", - ".git" - ], + "args": ["--stdio"], + "fileTypes": [".css", ".scss", ".sass", ".less"], + "rootMarkers": ["package.json", ".git"], "initOptions": { "provideFormatter": true } }, "vscode-json-language-server": { "command": "vscode-json-language-server", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".json", - ".jsonc" - ], - "rootMarkers": [ - "package.json", - ".git" - ], + "args": ["--stdio"], + "fileTypes": [".json", ".jsonc"], + "rootMarkers": ["package.json", ".git"], "initOptions": { "provideFormatter": true } }, "tailwindcss": { "command": "tailwindcss-language-server", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".html", - ".css", - ".scss", - ".js", - ".jsx", - ".ts", - ".tsx", - ".vue", - ".svelte" - ], - "rootMarkers": [ - "tailwind.config.js", - "tailwind.config.ts", - "tailwind.config.mjs", - "tailwind.config.cjs" - ] + "args": ["--stdio"], + "fileTypes": [".html", ".css", ".scss", ".js", ".jsx", ".ts", ".tsx", ".vue", ".svelte"], + "rootMarkers": ["tailwind.config.js", "tailwind.config.ts", "tailwind.config.mjs", "tailwind.config.cjs"] }, "svelte": { "command": "svelteserver", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".svelte" - ], - "rootMarkers": [ - "svelte.config.js", - "svelte.config.mjs", - "package.json" - ] + "args": ["--stdio"], + "fileTypes": [".svelte"], + "rootMarkers": ["svelte.config.js", "svelte.config.mjs", "package.json"] }, "vue-language-server": { "command": "vue-language-server", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".vue" - ], - "rootMarkers": [ - "vue.config.js", - "nuxt.config.js", - "nuxt.config.ts", - "package.json" - ] + "args": ["--stdio"], + "fileTypes": [".vue"], + "rootMarkers": ["vue.config.js", "nuxt.config.js", "nuxt.config.ts", "package.json"] }, "astro": { "command": "astro-ls", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".astro" - ], - "rootMarkers": [ - "astro.config.mjs", - "astro.config.js", - "astro.config.ts" - ] + "args": ["--stdio"], + "fileTypes": [".astro"], + "rootMarkers": ["astro.config.mjs", "astro.config.js", "astro.config.ts"] }, "pyright": { "command": "pyright-langserver", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".py", - ".pyi" - ], - "rootMarkers": [ - "pyproject.toml", - "pyrightconfig.json", - "setup.py", - "setup.cfg", - "requirements.txt", - "Pipfile" - ], + "args": ["--stdio"], + "fileTypes": [".py", ".pyi"], + "rootMarkers": ["pyproject.toml", "pyrightconfig.json", "setup.py", "setup.cfg", "requirements.txt", "Pipfile"], "settings": { "python": { "analysis": { @@ -343,19 +166,9 @@ }, "basedpyright": { "command": "basedpyright-langserver", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".py", - ".pyi" - ], - "rootMarkers": [ - "pyproject.toml", - "pyrightconfig.json", - "setup.py", - "requirements.txt" - ], + "args": ["--stdio"], + "fileTypes": [".py", ".pyi"], + "rootMarkers": ["pyproject.toml", "pyrightconfig.json", "setup.py", "requirements.txt"], "settings": { "basedpyright": { "analysis": { @@ -369,78 +182,33 @@ "pylsp": { "command": "pylsp", "args": [], - "fileTypes": [ - ".py" - ], - "rootMarkers": [ - "pyproject.toml", - "setup.py", - "setup.cfg", - "requirements.txt", - "Pipfile" - ] + "fileTypes": [".py"], + "rootMarkers": ["pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile"] }, "ruff": { "command": "ruff", - "args": [ - "server" - ], - "fileTypes": [ - ".py", - ".pyi" - ], - "rootMarkers": [ - "pyproject.toml", - "ruff.toml", - ".ruff.toml" - ], + "args": ["server"], + "fileTypes": [".py", ".pyi"], + "rootMarkers": ["pyproject.toml", "ruff.toml", ".ruff.toml"], "isLinter": true }, "jdtls": { "command": "jdtls", "args": [], - "fileTypes": [ - ".java" - ], - "rootMarkers": [ - "pom.xml", - "build.gradle", - "build.gradle.kts", - "settings.gradle", - ".project" - ] + "fileTypes": [".java"], + "rootMarkers": ["pom.xml", "build.gradle", "build.gradle.kts", "settings.gradle", ".project"] }, "kotlin-lsp": { "command": "kotlin-lsp", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".kt", - ".kts" - ], - "rootMarkers": [ - "build.gradle", - "build.gradle.kts", - "pom.xml", - "settings.gradle", - "settings.gradle.kts" - ] + "args": ["--stdio"], + "fileTypes": [".kt", ".kts"], + "rootMarkers": ["build.gradle", "build.gradle.kts", "pom.xml", "settings.gradle", "settings.gradle.kts"] }, "metals": { "command": "metals", "args": [], - "fileTypes": [ - ".scala", - ".sbt", - ".sc" - ], - "rootMarkers": [ - "build.sbt", - "build.sc", - "build.gradle", - "pom.xml" - ], + "fileTypes": [".scala", ".sbt", ".sc"], + "rootMarkers": ["build.sbt", "build.sc", "build.gradle", "pom.xml"], "initOptions": { "statusBarProvider": "show-message", "isHttpEnabled": true @@ -448,20 +216,9 @@ }, "hls": { "command": "haskell-language-server-wrapper", - "args": [ - "--lsp" - ], - "fileTypes": [ - ".hs", - ".lhs" - ], - "rootMarkers": [ - "stack.yaml", - "cabal.project", - "hie.yaml", - "package.yaml", - "*.cabal" - ], + "args": ["--lsp"], + "fileTypes": [".hs", ".lhs"], + "rootMarkers": ["stack.yaml", "cabal.project", "hie.yaml", "package.yaml", "*.cabal"], "settings": { "haskell": { "formattingProvider": "ormolu", @@ -472,32 +229,14 @@ "ocamllsp": { "command": "ocamllsp", "args": [], - "fileTypes": [ - ".ml", - ".mli", - ".mll", - ".mly" - ], - "rootMarkers": [ - "dune-project", - "dune-workspace", - "*.opam", - ".ocamlformat" - ] + "fileTypes": [".ml", ".mli", ".mll", ".mly"], + "rootMarkers": ["dune-project", "dune-workspace", "*.opam", ".ocamlformat"] }, "elixirls": { "command": "elixir-ls", "args": [], - "fileTypes": [ - ".ex", - ".exs", - ".heex", - ".eex" - ], - "rootMarkers": [ - "mix.exs", - "mix.lock" - ], + "fileTypes": [".ex", ".exs", ".heex", ".eex"], + "rootMarkers": ["mix.exs", "mix.lock"], "settings": { "elixirLS": { "dialyzerEnabled": true, @@ -508,43 +247,20 @@ "erlangls": { "command": "erlang_ls", "args": [], - "fileTypes": [ - ".erl", - ".hrl" - ], - "rootMarkers": [ - "rebar.config", - "erlang.mk", - "rebar.lock" - ] + "fileTypes": [".erl", ".hrl"], + "rootMarkers": ["rebar.config", "erlang.mk", "rebar.lock"] }, "gleam": { "command": "gleam", - "args": [ - "lsp" - ], - "fileTypes": [ - ".gleam" - ], - "rootMarkers": [ - "gleam.toml" - ] + "args": ["lsp"], + "fileTypes": [".gleam"], + "rootMarkers": ["gleam.toml"] }, "solargraph": { "command": "solargraph", - "args": [ - "stdio" - ], - "fileTypes": [ - ".rb", - ".rake", - ".gemspec" - ], - "rootMarkers": [ - "Gemfile", - ".solargraph.yml", - "Rakefile" - ], + "args": ["stdio"], + "fileTypes": [".rb", ".rake", ".gemspec"], + "rootMarkers": ["Gemfile", ".solargraph.yml", "Rakefile"], "initOptions": { "formatting": true }, @@ -563,49 +279,24 @@ "ruby-lsp": { "command": "ruby-lsp", "args": [], - "fileTypes": [ - ".rb", - ".rake", - ".gemspec", - ".erb" - ], - "rootMarkers": [ - "Gemfile", - ".ruby-version", - ".ruby-gemset" - ], + "fileTypes": [".rb", ".rake", ".gemspec", ".erb"], + "rootMarkers": ["Gemfile", ".ruby-version", ".ruby-gemset"], "initOptions": { "formatter": "auto" } }, "rubocop": { "command": "rubocop", - "args": [ - "--lsp" - ], - "fileTypes": [ - ".rb", - ".rake" - ], - "rootMarkers": [ - ".rubocop.yml", - "Gemfile" - ], + "args": ["--lsp"], + "fileTypes": [".rb", ".rake"], + "rootMarkers": [".rubocop.yml", "Gemfile"], "isLinter": true }, "bashls": { "command": "bash-language-server", - "args": [ - "start" - ], - "fileTypes": [ - ".sh", - ".bash", - ".zsh" - ], - "rootMarkers": [ - ".git" - ], + "args": ["start"], + "fileTypes": [".sh", ".bash", ".zsh"], + "rootMarkers": [".git"], "settings": { "bashIde": { "globPattern": "*@(.sh|.inc|.bash|.command)" @@ -615,25 +306,15 @@ "lua-language-server": { "command": "lua-language-server", "args": [], - "fileTypes": [ - ".lua" - ], - "rootMarkers": [ - ".luarc.json", - ".luarc.jsonc", - ".luacheckrc", - ".stylua.toml", - "stylua.toml" - ], + "fileTypes": [".lua"], + "rootMarkers": [".luarc.json", ".luarc.jsonc", ".luacheckrc", ".stylua.toml", "stylua.toml"], "settings": { "Lua": { "runtime": { "version": "LuaJIT" }, "diagnostics": { - "globals": [ - "vim" - ] + "globals": ["vim"] }, "workspace": { "checkThirdParty": false @@ -646,53 +327,21 @@ }, "intelephense": { "command": "intelephense", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".php", - ".phtml" - ], - "rootMarkers": [ - "composer.json", - "composer.lock", - ".git" - ] + "args": ["--stdio"], + "fileTypes": [".php", ".phtml"], + "rootMarkers": ["composer.json", "composer.lock", ".git"] }, "phpactor": { "command": "phpactor", - "args": [ - "language-server" - ], - "fileTypes": [ - ".php" - ], - "rootMarkers": [ - "composer.json", - ".phpactor.json", - ".phpactor.yml" - ] + "args": ["language-server"], + "fileTypes": [".php"], + "rootMarkers": ["composer.json", ".phpactor.json", ".phpactor.yml"] }, "omnisharp": { "command": "omnisharp", - "args": [ - "-z", - "--hostPID", - "$PID", - "--encoding", - "utf-8", - "--languageserver" - ], - "fileTypes": [ - ".cs", - ".csx" - ], - "rootMarkers": [ - "*.sln", - "*.csproj", - "omnisharp.json", - ".git" - ], + "args": ["-z", "--hostPID", "$PID", "--encoding", "utf-8", "--languageserver"], + "fileTypes": [".cs", ".csx"], + "rootMarkers": ["*.sln", "*.csproj", "omnisharp.json", ".git"], "settings": { "FormattingOptions": { "EnableEditorConfigSupport": true @@ -704,16 +353,9 @@ }, "yamlls": { "command": "yaml-language-server", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".yaml", - ".yml" - ], - "rootMarkers": [ - ".git" - ], + "args": ["--stdio"], + "fileTypes": [".yaml", ".yml"], + "rootMarkers": [".git"], "settings": { "yaml": { "validate": true, @@ -730,115 +372,47 @@ } } }, - "taplo": { - "command": "taplo", - "args": [ - "lsp", - "stdio" - ], - "fileTypes": [ - ".toml" - ], - "rootMarkers": [ - ".taplo.toml", - "taplo.toml", - ".git" - ] - }, "terraformls": { "command": "terraform-ls", - "args": [ - "serve" - ], - "fileTypes": [ - ".tf", - ".tfvars" - ], - "rootMarkers": [ - ".terraform", - "terraform.tfstate", - "*.tf" - ] + "args": ["serve"], + "fileTypes": [".tf", ".tfvars"], + "rootMarkers": [".terraform", "terraform.tfstate", "*.tf"] }, "dockerls": { "command": "docker-langserver", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".dockerfile", - "Dockerfile" - ], - "rootMarkers": [ - "Dockerfile", - "docker-compose.yml", - "docker-compose.yaml", - ".dockerignore" - ] + "args": ["--stdio"], + "fileTypes": [".dockerfile", "Dockerfile"], + "rootMarkers": ["Dockerfile", "docker-compose.yml", "docker-compose.yaml", ".dockerignore"] }, "helm-ls": { "command": "helm_ls", - "args": [ - "serve" - ], - "fileTypes": [ - ".yaml", - ".yml", - ".tpl" - ], - "rootMarkers": [ - "Chart.yaml", - "Chart.yml" - ] + "args": ["serve"], + "fileTypes": [".yaml", ".yml", ".tpl"], + "rootMarkers": ["Chart.yaml", "Chart.yml"] }, "nixd": { "command": "nixd", "args": [], - "fileTypes": [ - ".nix" - ], - "rootMarkers": [ - "flake.nix", - "default.nix", - "shell.nix" - ] + "fileTypes": [".nix"], + "rootMarkers": ["flake.nix", "default.nix", "shell.nix"] }, "nil": { "command": "nil", "args": [], - "fileTypes": [ - ".nix" - ], - "rootMarkers": [ - "flake.nix", - "default.nix", - "shell.nix" - ] + "fileTypes": [".nix"], + "rootMarkers": ["flake.nix", "default.nix", "shell.nix"] }, "ols": { "command": "ols", "args": [], - "fileTypes": [ - ".odin" - ], - "rootMarkers": [ - "ols.json", - ".git" - ] + "fileTypes": [".odin"], + "rootMarkers": ["ols.json", ".git"] }, "dartls": { "command": "dart", - "args": [ - "language-server", - "--protocol=lsp" - ], - "fileTypes": [ - ".dart" - ], - "rootMarkers": [ - "pubspec.yaml", - "pubspec.lock" - ], + "args": ["language-server", "--protocol=lsp"], + "fileTypes": [".dart"], + "rootMarkers": ["pubspec.yaml", "pubspec.lock"], "initOptions": { "closingLabels": true, "flutterOutline": true, @@ -847,45 +421,21 @@ }, "marksman": { "command": "marksman", - "args": [ - "server" - ], - "fileTypes": [ - ".md", - ".markdown" - ], - "rootMarkers": [ - ".marksman.toml", - ".git" - ], + "args": ["server"], + "fileTypes": [".md", ".markdown"], + "rootMarkers": [".marksman.toml", ".git"], "warmupTimeoutMs": 15000 }, "texlab": { "command": "texlab", "args": [], - "fileTypes": [ - ".tex", - ".bib", - ".sty", - ".cls" - ], - "rootMarkers": [ - ".latexmkrc", - "latexmkrc", - ".texlabroot", - "texlabroot", - "Tectonic.toml" - ], + "fileTypes": [".tex", ".bib", ".sty", ".cls"], + "rootMarkers": [".latexmkrc", "latexmkrc", ".texlabroot", "texlabroot", "Tectonic.toml"], "settings": { "texlab": { "build": { "executable": "latexmk", - "args": [ - "-pdf", - "-interaction=nonstopmode", - "-synctex=1", - "%f" - ] + "args": ["-pdf", "-interaction=nonstopmode", "-synctex=1", "%f"] }, "chktex": { "onOpenAndSave": true @@ -895,48 +445,21 @@ }, "graphql": { "command": "graphql-lsp", - "args": [ - "server", - "-m", - "stream" - ], - "fileTypes": [ - ".graphql", - ".gql" - ], - "rootMarkers": [ - ".graphqlrc", - ".graphqlrc.json", - ".graphqlrc.yml", - ".graphqlrc.yaml", - "graphql.config.js" - ] + "args": ["server", "-m", "stream"], + "fileTypes": [".graphql", ".gql"], + "rootMarkers": [".graphqlrc", ".graphqlrc.json", ".graphqlrc.yml", ".graphqlrc.yaml", "graphql.config.js"] }, "prismals": { "command": "prisma-language-server", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".prisma" - ], - "rootMarkers": [ - "schema.prisma", - "prisma/schema.prisma" - ] + "args": ["--stdio"], + "fileTypes": [".prisma"], + "rootMarkers": ["schema.prisma", "prisma/schema.prisma"] }, "vimls": { "command": "vim-language-server", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".vim", - ".vimrc" - ], - "rootMarkers": [ - ".git" - ], + "args": ["--stdio"], + "fileTypes": [".vim", ".vimrc"], + "rootMarkers": [".git"], "initOptions": { "isNeovim": true, "diagnostic": { @@ -946,54 +469,21 @@ }, "emmet-language-server": { "command": "emmet-language-server", - "args": [ - "--stdio" - ], - "fileTypes": [ - ".html", - ".css", - ".scss", - ".less", - ".jsx", - ".tsx", - ".vue", - ".svelte" - ], - "rootMarkers": [ - ".git" - ] + "args": ["--stdio"], + "fileTypes": [".html", ".css", ".scss", ".less", ".jsx", ".tsx", ".vue", ".svelte"], + "rootMarkers": [".git"] }, "sourcekit-lsp": { "command": "sourcekit-lsp", "args": [], - "fileTypes": [ - ".swift" - ], - "rootMarkers": [ - "Package.swift", - "*.xcodeproj", - "*.xcworkspace", - "project.yml", - ".swiftpm" - ] + "fileTypes": [".swift"], + "rootMarkers": ["Package.swift", "*.xcodeproj", "*.xcworkspace", "project.yml", ".swiftpm"] }, "swiftlint": { "command": "swiftlint", - "args": [ - "lint", - "--quiet", - "--reporter", - "json" - ], - "fileTypes": [ - ".swift" - ], - "rootMarkers": [ - ".swiftlint.yml", - ".swiftlint.yaml", - "Package.swift", - "*.xcodeproj" - ], + "args": ["lint", "--quiet", "--reporter", "json"], + "fileTypes": [".swift"], + "rootMarkers": [".swiftlint.yml", ".swiftlint.yaml", "Package.swift", "*.xcodeproj"], "isLinter": true } }