mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-10 03:21:30 +01:00
27 lines
535 B
Nix
27 lines
535 B
Nix
|
|
{
|
||
|
|
lua-config-pre-post = {
|
||
|
|
extraConfigLuaPre = ''
|
||
|
|
list = {}
|
||
|
|
'';
|
||
|
|
plugins.cmp = {
|
||
|
|
enable = true;
|
||
|
|
luaConfig = {
|
||
|
|
pre = ''
|
||
|
|
table.insert(list, "pre")
|
||
|
|
'';
|
||
|
|
content = ''
|
||
|
|
table.insert(list, "init")
|
||
|
|
'';
|
||
|
|
post = ''
|
||
|
|
table.insert(list, "post")
|
||
|
|
'';
|
||
|
|
};
|
||
|
|
};
|
||
|
|
extraConfigLuaPost = ''
|
||
|
|
if not vim.deep_equal(list, {"pre", "init", "post"}) then
|
||
|
|
vim.print("Unexpected list: " .. vim.inspect(list))
|
||
|
|
end
|
||
|
|
'';
|
||
|
|
};
|
||
|
|
}
|