Skip to content

Commit

Permalink
chore(build): auto-generate vimdoc, schemas and annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 9, 2023
1 parent 19bcb10 commit 4a34446
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 27 deletions.
8 changes: 1 addition & 7 deletions schemas/denols.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"type": "number"
},
"deno.enable": {
"default": null,
"default": false,
"examples": [
true,
false
Expand Down Expand Up @@ -275,12 +275,6 @@
"scope": "window",
"type": "array"
},
"deno.testing.enable": {
"default": true,
"markdownDescription": "Enable the testing API for the language server. When folder is Deno enabled, tests will be available in the Test Explorer view.",
"scope": "window",
"type": "boolean"
},
"deno.tlsCertificate": {
"default": null,
"markdownDescription": "A path to a PEM certificate to use as the certificate authority when validating TLS certificates when fetching and caching remote resources. This is like using `--cert` on the Deno CLI and overrides the `DENO_CERT` environment variable if set.",
Expand Down
9 changes: 3 additions & 6 deletions schemas/rust_analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -471,15 +471,12 @@
"markdownDescription": "List of warnings that should be displayed with info severity.\n\nThe warnings will be indicated by a blue squiggly underline in code\nand a blue icon in the `Problems Panel`.",
"type": "array"
},
"rust-analyzer.discoverProjectCommand": {
"rust-analyzer.discoverProjectRunner": {
"default": null,
"items": {
"type": "string"
},
"markdownDescription": "Sets the command that rust-analyzer uses to generate `rust-project.json` files. This command should only be used\n if a build system like Buck or Bazel is also in use. The command must accept files as arguments and return \n a rust-project.json over stdout.",
"markdownDescription": "Sets the extension responsible for determining which extension the rust-analyzer extension uses to generate `rust-project.json` files. This should should only be used\n if a build system like Buck or Bazel is also in use.",
"type": [
"null",
"array"
"string"
]
},
"rust-analyzer.files.excludeDirs": {
Expand Down
17 changes: 3 additions & 14 deletions types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,6 @@
-- default = { "--allow-all", "--no-check" }
-- ```
---@field args string[]
-- Enable the testing API for the language server. When folder is Deno enabled, tests will be available in the Test Explorer view.
--
-- ```lua
-- default = true
-- ```
---@field enable boolean

---@class _.lspconfig.settings.denols.Deno
-- A path to the cache directory for Deno. By default, the operating system's cache path plus `deno` is used, or the `DENO_DIR` environment variable, but if set, this path will be used instead.
Expand Down Expand Up @@ -304,10 +298,6 @@
-- If you want to enable only part of your workspace folder, consider using `deno.enablePaths` setting instead.
--
-- **Not recommended to be enabled globally.**
--
-- ```lua
-- default = <userdata 1>
-- ```
---@field enable boolean
-- Enables the Deno Language Server for specific paths, instead of for the whole workspace folder. This will disable the built in TypeScript/JavaScript language server for those paths.
--
Expand Down Expand Up @@ -10820,14 +10810,13 @@
---@field completion _.lspconfig.settings.rust_analyzer.Completion
---@field debug _.lspconfig.settings.rust_analyzer.Debug
---@field diagnostics _.lspconfig.settings.rust_analyzer.Diagnostics
-- Sets the command that rust-analyzer uses to generate `rust-project.json` files. This command should only be used
-- if a build system like Buck or Bazel is also in use. The command must accept files as arguments and return
-- a rust-project.json over stdout.
-- Sets the extension responsible for determining which extension the rust-analyzer extension uses to generate `rust-project.json` files. This should should only be used
-- if a build system like Buck or Bazel is also in use.
--
-- ```lua
-- default = <userdata 1>
-- ```
---@field discoverProjectCommand string[]
---@field discoverProjectRunner string
---@field files _.lspconfig.settings.rust_analyzer.Files
---@field highlightRelated _.lspconfig.settings.rust_analyzer.HighlightRelated
---@field hover _.lspconfig.settings.rust_analyzer.Hover
Expand Down

0 comments on commit 4a34446

Please sign in to comment.