mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-09 16:54:36 +02:00
plugins/completion: move to by-name
- Move nvim-cmp to plugins/cmp - Move other completion plugins to plugins/by-name
This commit is contained in:
parent
3211a63306
commit
ad85cd760e
36 changed files with 2 additions and 9 deletions
29
tests/test-sources/plugins/by-name/coq-thirdparty/default.nix
vendored
Normal file
29
tests/test-sources/plugins/by-name/coq-thirdparty/default.nix
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
# Empty configuration
|
||||
empty = {
|
||||
plugins.coq-thirdparty.enable = true;
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.coq-thirdparty = {
|
||||
enable = true;
|
||||
|
||||
sources = [
|
||||
{
|
||||
src = "nvimlua";
|
||||
short_name = "nLUA";
|
||||
}
|
||||
{
|
||||
src = "vimtex";
|
||||
short_name = "vTEX";
|
||||
}
|
||||
{
|
||||
src = "copilot";
|
||||
short_name = "COP";
|
||||
accept_key = "<c-f>";
|
||||
}
|
||||
{ src = "demo"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue