mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 18:54:30 +02:00
plugins/gitlab: init
This commit is contained in:
parent
880a570588
commit
09dfa035b6
2 changed files with 215 additions and 0 deletions
78
tests/test-sources/plugins/by-name/gitlab/default.nix
Normal file
78
tests/test-sources/plugins/by-name/gitlab/default.nix
Normal file
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.gitlab.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.gitlab = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
gitlab_url = "https://gitlab.com";
|
||||
statuslines = {
|
||||
enable = true;
|
||||
};
|
||||
resource_editing = {
|
||||
enable = false;
|
||||
};
|
||||
minimal_message_level = 0;
|
||||
code_suggestions = {
|
||||
auto_filetypes = [
|
||||
"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"
|
||||
];
|
||||
enabled = true;
|
||||
fix_newlines = true;
|
||||
lsp_binary_path = "node";
|
||||
offset_encoding = "utf-16";
|
||||
redact_secrets = true;
|
||||
};
|
||||
language_server = {
|
||||
workspace_settings = {
|
||||
codeCompletion = {
|
||||
enableSecretRedaction = true;
|
||||
};
|
||||
telemetry = {
|
||||
enabled = true;
|
||||
trackingUrl = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.gitlab = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
code_suggestions = {
|
||||
auto_filetypes = [ "ruby" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue