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