feat(nvf): WIP bloating

This commit is contained in:
Mohammad Rafiq 2025-05-22 18:35:38 +08:00
parent 0bee56e7e8
commit 214b8dea90
No known key found for this signature in database
9 changed files with 84 additions and 8 deletions

View file

@ -1,6 +1,36 @@
{ lib }:
{
blink-cmp = {
enable = true;
setupOpts.signature.enabled = true;
friendly-snippets.enable = true;
mappings = {
next = "<Down>"; # FIXME: results in the menu appearing when navigating
previous = "<Up>";
};
sourcePlugins = {
emoji.enable = true;
ripgrep.enable = true;
spell.enable = true;
};
setupOpts = {
completion.documentation.auto_show_delay_ms = 0;
signature.enabled = true;
enabled =
lib.generators.mkLuaInline
# lua
''
--- Disable completion for markdown
function()
return not vim.tbl_contains({"markdown"}, vim.bo.filetype)
and vim.bo.buftype ~= "prompt"
and vim.b.completion ~= false
end
'';
cmdline = {
enabled = true;
sources = null;
completion.menu.auto_show = false;
};
};
};
}