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 Jul 11, 2024
1 parent e34cf5e commit ef1bfbb
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
8 changes: 8 additions & 0 deletions schemas/dartls.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,14 @@
"dart.customDevTools": {
"description": "Custom settings for launching DevTools. This setting is intended for use by Dart DevTools developers.",
"properties": {
"args": {
"default": [],
"description": "Extra arguments to pass when running the `devtools_tool serve` command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"default": {
"FLUTTER_ROOT": "/path/to/devtools/tool/flutter-sdk",
Expand Down
15 changes: 15 additions & 0 deletions schemas/rust_analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,21 @@
"markdownDescription": "Whether to show inlay hints as postfix ops (`.*` instead of `*`, etc).",
"type": "string"
},
"rust-analyzer.inlayHints.genericParameterHints.const.enable": {
"default": false,
"markdownDescription": "Whether to show const generic parameter name inlay hints.",
"type": "boolean"
},
"rust-analyzer.inlayHints.genericParameterHints.lifetime.enable": {
"default": true,
"markdownDescription": "Whether to show generic lifetime parameter name inlay hints.",
"type": "boolean"
},
"rust-analyzer.inlayHints.genericParameterHints.type.enable": {
"default": false,
"markdownDescription": "Whether to show generic type parameter name inlay hints.",
"type": "boolean"
},
"rust-analyzer.inlayHints.implicitDrops.enable": {
"default": false,
"markdownDescription": "Whether to show implicit drop hints.",
Expand Down
28 changes: 28 additions & 0 deletions types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,12 @@

-- Custom settings for launching DevTools. This setting is intended for use by Dart DevTools developers.
---@class _.lspconfig.settings.dartls.CustomDevTools
-- Extra arguments to pass when running the `devtools_tool serve` command.
--
-- ```lua
-- default = {}
-- ```
---@field args string[]
-- Any environment variables to set when spawning the command. 'LOCAL_DART_SDK' should usually be set to your Dart SDK checkout and 'FLUTTER_ROOT' to the version of Flutter that DevTools is pinned to.
--
-- ```lua
Expand Down Expand Up @@ -12795,6 +12801,27 @@
-- ```
---@field mode "prefix" | "postfix" | "prefer_prefix" | "prefer_postfix"

---@class _.lspconfig.settings.rust_analyzer.Const
-- Whether to show const generic parameter name inlay hints.
---@field enable boolean

---@class _.lspconfig.settings.rust_analyzer.Lifetime
-- Whether to show generic lifetime parameter name inlay hints.
--
-- ```lua
-- default = true
-- ```
---@field enable boolean

---@class _.lspconfig.settings.rust_analyzer.Type
-- Whether to show generic type parameter name inlay hints.
---@field enable boolean

---@class _.lspconfig.settings.rust_analyzer.GenericParameterHints
---@field const _.lspconfig.settings.rust_analyzer.Const
---@field lifetime _.lspconfig.settings.rust_analyzer.Lifetime
---@field type _.lspconfig.settings.rust_analyzer.Type

---@class _.lspconfig.settings.rust_analyzer.ImplicitDrops
-- Whether to show implicit drop hints.
---@field enable boolean
Expand Down Expand Up @@ -12858,6 +12885,7 @@
---@field closureStyle "impl_fn" | "rust_analyzer" | "with_id" | "hide"
---@field discriminantHints _.lspconfig.settings.rust_analyzer.DiscriminantHints
---@field expressionAdjustmentHints _.lspconfig.settings.rust_analyzer.ExpressionAdjustmentHints
---@field genericParameterHints _.lspconfig.settings.rust_analyzer.GenericParameterHints
---@field implicitDrops _.lspconfig.settings.rust_analyzer.ImplicitDrops
---@field lifetimeElisionHints _.lspconfig.settings.rust_analyzer.LifetimeElisionHints
-- Maximum length for inlay hints. Set to null to have an unlimited length.
Expand Down

0 comments on commit ef1bfbb

Please sign in to comment.