plugins.lsp-status.settings
Options provided to the require('lsp-status').setup
function.
Type: attribute set of anything
Default:
{ }
Example:
{
callback = {
__raw = ''
function()
print('nixvim')
end
'';
};
foo_bar = 42;
hostname = "localhost:8080";
}
Declared by:
plugins.lsp-status.settings.component_separator
A string which goes between each “chunk” of the statusline component (i.e. different diagnostic groups, messages).
Type: null or string or raw lua code
Default:
null
Plugin default: " "
Declared by:
plugins.lsp-status.settings.current_function
True if the current function should be updated and displayed in the default statusline component.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.lsp-status.settings.diagnostics
If false, the default statusline component does not display LSP diagnostics.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.lsp-status.settings.indicator_errors
The string to show as diagnostics. If you don’t have Nerd/Awesome Fonts you can replace defaults with ASCII chars.
Type: null or string or raw lua code
Default:
null
Plugin default: ""
Declared by:
plugins.lsp-status.settings.indicator_hint
The string to show as diagnostics. If you don’t have Nerd/Awesome Fonts you can replace defaults with ASCII chars.
Type: null or string or raw lua code
Default:
null
Plugin default: "❗"
Declared by:
plugins.lsp-status.settings.indicator_info
The string to show as diagnostics. If you don’t have Nerd/Awesome Fonts you can replace defaults with ASCII chars.
Type: null or string or raw lua code
Default:
null
Plugin default: "🛈"
Declared by:
plugins.lsp-status.settings.indicator_ok
The string to show as diagnostics. If you don’t have Nerd/Awesome Fonts you can replace defaults with ASCII chars.
Type: null or string or raw lua code
Default:
null
Plugin default: ""
Declared by:
plugins.lsp-status.settings.indicator_separator
A string which goes between each diagnostic group symbol and its count.
Type: null or string or raw lua code
Default:
null
Plugin default: " "
Declared by:
plugins.lsp-status.settings.indicator_warnings
The string to show as diagnostics. If you don’t have Nerd/Awesome Fonts you can replace defaults with ASCII chars.
Type: null or string or raw lua code
Default:
null
Plugin default: ""
Declared by:
plugins.lsp-status.settings.kind_labels
An optional map from LSP symbol kinds to label symbols. Used to decorate the current function name.
Type: null or (attribute set of (string or raw lua code))
Default:
null
Plugin default: { }
Declared by:
plugins.lsp-status.settings.select_symbol
An optional handler of the form function(cursor_pos, document_symbol)
that should return
true
if document_symbol
(a DocumentSymbol
) should be accepted as the symbol currently
containing the cursor.
Type: null or string or raw lua code
Default:
null
Plugin default: ""
Declared by:
plugins.lsp-status.settings.show_filename
True if the current function should be updated and displayed in the default statusline component.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.lsp-status.settings.spinner_frames
Animation frames of the spinner displayed while lsp is processing.
Type: null or (list of (string or raw lua code))
Default:
null
Plugin default:
[
"⣾"
"⣽"
"⣻"
"⢿"
"⡿"
"⣟"
"⣯"
"⣷"
]
Declared by:
plugins.lsp-status.settings.status_symbol
Symbol displayed at the beginning of the status message.
Type: null or string or raw lua code
Default:
null
Plugin default: " 🇻"
Declared by:
plugins.lsp-status.settings.update_interval
The interval, in milliseconds, to update the status message.
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 100
Declared by: