plugins.lsp.servers.lua-ls.settings.hover.enable
Whether to enable hover tooltips or not.
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.lsp.servers.lua-ls.settings.hover.enumsLimit
When a value has multiple possible types, hovering it will display them. This setting limits how many will be displayed in the tooltip before they are truncated.
Plugin default: 5
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Declared by:
plugins.lsp.servers.lua-ls.settings.hover.expandAlias
When hovering a value with an @alias
for its type, should the alias be expanded into its values.
When enabled, ---@alias myType boolean|number
appears as boolean|number
, otherwise it will
appear as myType
.
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.lsp.servers.lua-ls.settings.hover.previewFields
When a table is hovered, its fields will be displayed in the tooltip.
This setting limits how many fields can be seen in the tooltip.
Setting to 0
will disable this feature.
Plugin default: 50
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Declared by:
plugins.lsp.servers.lua-ls.settings.hover.viewNumber
Enable hovering a non-decimal value to see its numeric value.
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.lsp.servers.lua-ls.settings.hover.viewString
Enable hovering a string that contains an escape character to see its true string value.
For example, hovering "\x48"
will display "H"
.
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.lsp.servers.lua-ls.settings.hover.viewStringMax
The maximum number of characters that can be previewed by hovering a string before it is truncated.
Plugin default: 1000
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Declared by: