plugins.gitlab.settings.code_suggestions.enabled
Whether to enable |gitlab-code-suggestions|
via the LSP binary.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.gitlab.settings.code_suggestions.auto_filetypes
Filetypes to automatically invoke |gitlab.code_suggestions.start()|
.
Type: null or (list of (string or raw lua code))
Default:
null
Plugin default:
[
"c"
"cpp"
"csharp"
"go"
"java"
"javascript"
"javascriptreact"
"kotlin"
"markdown"
"objective-c"
"objective-cpp"
"php"
"python"
"ruby"
"rust"
"scala"
"sql"
"swift"
"terraform"
"typescript"
"typescriptreact"
"sh"
"html"
"css"
]
Declared by:
plugins.gitlab.settings.code_suggestions.fix_newlines
Whether to replace newlines that have become null-byte due to switching between encodings.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.gitlab.settings.code_suggestions.lsp_binary_path
The path where the node
executable is available.
By default, this option is set to "node"
which will look for nodejs in your $PATH
.
To ensure that node
will always be in your $PATH
, you may set the nodePackage
option.
Alternatively, you can set this option to lib.getExe pkgs.nodejs
(or any other package).
Type: null or string or raw lua code
Default:
null
Plugin default: "node"
Example:
lib.getExe pkgs.nodejs
Declared by:
plugins.gitlab.settings.code_suggestions.offset_encoding
Which offset encoding to use.
Type: null or string or raw lua code
Default:
null
Plugin default: "utf-16"
Declared by:
plugins.gitlab.settings.code_suggestions.redact_secrets
Whether to redact secrets.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by: