lsp.servers.protols
The protols language server.
Type: submodule
Default:
{ }
Declared by:
lsp.servers.protols.enable
Whether to enable protols.
Type: boolean
Default:
false
Example:
true
Declared by:
lsp.servers.protols.package
The protols package to use.
Alternatively, protols should be installed on your $PATH
.
Type: null or package
Default:
pkgs.protols
Declared by:
lsp.servers.protols.activate
Whether to call vim.lsp.enable()
for protols.
Type: boolean
Default:
true
, unless the server’s name
is *
Example:
false
Declared by:
lsp.servers.protols.name
The name to use for protols.
Supplied to functions like vim.lsp.enable()
.
Type: string or raw lua code
Default:
"protols"
Declared by:
lsp.servers.protols.settings
Configurations for protols.
Type: attribute set of anything
Default:
{ }
Example:
{
cmd = [
"clangd"
"--background-index"
];
filetypes = [
"c"
"cpp"
];
root_markers = [
"compile_commands.json"
"compile_flags.txt"
];
}
Declared by: