feat(nvf): WIP bloating
This commit is contained in:
parent
0bee56e7e8
commit
214b8dea90
9 changed files with 84 additions and 8 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue