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 1, 2024
1 parent 5d2eb47 commit 94f1e5b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
12 changes: 6 additions & 6 deletions schemas/intelephense.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "PHP code intelligence for Visual Studio Code",
"properties": {
"completion.suggestObjectOperatorStaticMethods": {
"default": true,
"description": "PHP permits the calling of static methods using the object operator eg `$obj->myStaticMethod();`. If you would prefer not to have static methods suggested in this context then set this value to `false`. Defaults to `true`.",
"scope": "window",
"type": "boolean"
},
"intelephense.compatibility.correctForArrayAccessArrayAndTraversableArrayUnionTypes": {
"default": true,
"description": "Resolves `ArrayAccess` and `Traversable` implementations that are unioned with a typed array to generic syntax. eg `ArrayAccessOrTraversable|ElementType[]` => `ArrayAccessOrTraversable<mixed, ElementType>`.",
Expand Down Expand Up @@ -44,6 +38,12 @@
"scope": "window",
"type": "number"
},
"intelephense.completion.suggestObjectOperatorStaticMethods": {
"default": true,
"description": "PHP permits the calling of static methods using the object operator eg `$obj->myStaticMethod();`. If you would prefer not to have static methods suggested in this context then set this value to `false`. Defaults to `true`.",
"scope": "window",
"type": "boolean"
},
"intelephense.completion.triggerParameterHints": {
"default": true,
"description": "Method and function completions will include parentheses and trigger parameter hints.",
Expand Down
15 changes: 6 additions & 9 deletions types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2929,14 +2929,6 @@
---@class lspconfig.settings.html
---@field html _.lspconfig.settings.html.Html

---@class _.lspconfig.settings.intelephense.Completion
-- PHP permits the calling of static methods using the object operator eg `$obj->myStaticMethod();`. If you would prefer not to have static methods suggested in this context then set this value to `false`. Defaults to `true`.
--
-- ```lua
-- default = true
-- ```
---@field suggestObjectOperatorStaticMethods boolean

---@class _.lspconfig.settings.intelephense.Compatibility
-- Resolves `ArrayAccess` and `Traversable` implementations that are unioned with a typed array to generic syntax. eg `ArrayAccessOrTraversable|ElementType[]` => `ArrayAccessOrTraversable<mixed, ElementType>`.
--
Expand Down Expand Up @@ -2968,6 +2960,12 @@
-- default = 100
-- ```
---@field maxItems number
-- PHP permits the calling of static methods using the object operator eg `$obj->myStaticMethod();`. If you would prefer not to have static methods suggested in this context then set this value to `false`. Defaults to `true`.
--
-- ```lua
-- default = true
-- ```
---@field suggestObjectOperatorStaticMethods boolean
-- Method and function completions will include parentheses and trigger parameter hints.
--
-- ```lua
Expand Down Expand Up @@ -3304,7 +3302,6 @@
---@field trace _.lspconfig.settings.intelephense.Trace

---@class lspconfig.settings.intelephense
---@field completion _.lspconfig.settings.intelephense.Completion
---@field intelephense _.lspconfig.settings.intelephense.Intelephense

---@class _.lspconfig.settings.java_language_server.Trace
Expand Down

0 comments on commit 94f1e5b

Please sign in to comment.