feat(homes/rafiq): port over configs

This commit is contained in:
Mohammad Rafiq 2025-07-07 21:19:08 +08:00
parent aa06b5f6fd
commit 4c82720251
No known key found for this signature in database
15 changed files with 440 additions and 2 deletions

View file

@ -0,0 +1,25 @@
{ lib }:
{
blink-cmp = {
enable = true;
friendly-snippets.enable = true;
sourcePlugins.ripgrep.enable = true;
setupOpts = {
# Disable completion in markdown files
# TODO: Disable completion when in comments
enabled =
lib.generators.mkLuaInline
# lua
''
function()
return not vim.tbl_contains({"markdown"}, vim.bo.filetype)
and vim.bo.buftype ~= "prompt"
and vim.b.completion ~= false
end
'';
completion.documentation.auto_show_delay_ms = 0;
# Show e.g. function parameters
signature.enabled = true;
};
};
}