fix: minor fixes to nvf config

This commit is contained in:
Mohammad Rafiq 2025-03-14 01:36:37 +08:00
parent bfce8aa585
commit a6d779f6cf
4 changed files with 11 additions and 11 deletions

View file

@ -1,17 +1,17 @@
{inputs, ...}: { {inputs, ...}: {
imports = [ imports = [
inputs.nvf.homeManagerModules.default inputs.nvf.homeManagerModules.default
./nvf/options.nix
./nvf/keymaps.nix
./nvf/lsp.nix
./nvf/debugger.nix ./nvf/debugger.nix
./nvf/languages.nix
./nvf/visual.nix
./nvf/input.nix
./nvf/filetree.nix ./nvf/filetree.nix
./nvf/input.nix
./nvf/keymaps.nix
./nvf/languages.nix
./nvf/lsp.nix
./nvf/notes.nix
./nvf/options.nix
./nvf/search.nix ./nvf/search.nix
./nvf/utilities.nix ./nvf/utilities.nix
./nvf/notes.nix ./nvf/visual.nix
]; ];
home.sessionVariables.EDITOR = "nvim"; home.sessionVariables.EDITOR = "nvim";
programs.nvf = { programs.nvf = {
@ -20,7 +20,6 @@
settings.vim = { settings.vim = {
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
spellcheck.enable = true;
}; };
}; };
} }

View file

@ -20,6 +20,7 @@
}; };
setupOpts = { setupOpts = {
cmdline.sources = null; # use default source list cmdline.sources = null; # use default source list
sources.providers.cmdline.module = "blink.cmp.sources.cmdline";
completion.documentation.auto_show_delay_ms = 0; completion.documentation.auto_show_delay_ms = 0;
signature.enabled = true; signature.enabled = true;
}; };

View file

@ -37,7 +37,7 @@
}; };
# precognition.nvim shows hints for motions # precognition.nvim shows hints for motions
precognition = { precognition = {
enable = true; enable = false;
setupOpts = { setupOpts = {
# TODO: may want to fix dashboard # TODO: may want to fix dashboard
}; };

View file

@ -20,7 +20,7 @@
}; };
# nvim-cursorline provides cursor word and line highlighting # nvim-cursorline provides cursor word and line highlighting
nvim-cursorline = { nvim-cursorline = {
enable = true; enable = false;
setupOpts = { setupOpts = {
cursorword.enable = true; cursorword.enable = true;
cursorline.enable = false; cursorline.enable = false;
@ -61,7 +61,7 @@
fold = true; fold = true;
# provide context for current scope # provide context for current scope
context = { context = {
enable = true; enable = false;
setupOpts = { setupOpts = {
mode = "topline"; mode = "topline";
}; };