edit nvf config

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>

Former-commit-id: 20350cacd5f393f214438f5b19753af53b56f305
This commit is contained in:
Hadi
2025-06-19 15:29:24 +02:00
parent 5d7c159e34
commit f306041af9
3 changed files with 128 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
{
{pkgs, ...}: {
programs.nvf.settings.vim = {
utility = {
motion.flash-nvim.enable = true;
@@ -11,10 +11,21 @@
cmp.enable = true;
};
statusline.lualine.enable = true;
autocomplete.blink-cmp = {
enable = true;
friendly-snippets.enable = true;
autocomplete = {
nvim-cmp = {
enable = true;
sources = {
buffer = "[Buffer]";
nvim-cmp = null;
path = "[Path]";
};
sourcePlugins = [
pkgs.vimPlugins.cmp-cmdline
];
};
};
snippets.luasnip.enable = true;
ui = {
noice.enable = true;
@@ -31,6 +42,11 @@
mappings.open = "<leader>gl";
};
};
formatter.conform-nvim.enable = true;
visuals = {
rainbow-delimiters.enable = true;
nvim-scrollbar = {
enable = false;
};
};
};
}