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