mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-29 16:37:23 +02:00
neovim: Make cmp sources work
This commit is contained in:
parent
110699cff5
commit
17c7b15981
2 changed files with 24 additions and 23 deletions
|
|
@ -29,27 +29,28 @@
|
|||
"fallback"
|
||||
];
|
||||
};
|
||||
completion.enabled_providers = [
|
||||
"lsp"
|
||||
"buffer"
|
||||
"path"
|
||||
"git"
|
||||
"calc"
|
||||
"omni"
|
||||
];
|
||||
# Does not seem to work
|
||||
providers = {
|
||||
git = {
|
||||
name = "git";
|
||||
module = "blink.compat.source";
|
||||
};
|
||||
calc = {
|
||||
name = "calc";
|
||||
module = "blink.compat.source";
|
||||
};
|
||||
omni = {
|
||||
name = "omni";
|
||||
module = "blink.compat.source";
|
||||
sources = {
|
||||
completion.enabled_providers = [
|
||||
"lsp"
|
||||
"buffer"
|
||||
"path"
|
||||
"git"
|
||||
"calc"
|
||||
"omni"
|
||||
];
|
||||
providers = {
|
||||
git = {
|
||||
name = "git";
|
||||
module = "blink.compat.source";
|
||||
};
|
||||
calc = {
|
||||
name = "calc";
|
||||
module = "blink.compat.source";
|
||||
};
|
||||
omni = {
|
||||
name = "omni";
|
||||
module = "blink.compat.source";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -63,6 +64,4 @@
|
|||
plugins.cmp-omni.enable = true;
|
||||
plugins.cmp-git.enable = true;
|
||||
plugins.cmp-calc.enable = true;
|
||||
|
||||
performance.combinePlugins.standalonePlugins = [ "nvim-cmp" ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
src = inputs."blink.compat";
|
||||
version = inputs."blink.compat".shortRev;
|
||||
};
|
||||
|
||||
nvim-cmp = final'.blink-compat;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue