feat(nvf): more ricing

This commit is contained in:
Mohammad Rafiq 2025-05-22 23:18:48 +08:00
parent 214b8dea90
commit c09c7cd6c0
No known key found for this signature in database
9 changed files with 24 additions and 3 deletions

View file

@ -11,6 +11,10 @@
screensaver.timeout = lib.pantheon.mkStrOption;
screensaver.command = lib.pantheon.mkStrOption;
editor = lib.pantheon.mkStrOption;
nvf.snippets = lib.mkOption {
type = lib.types.listOf lib.types.attrs;
default = { };
};
file-browser = lib.pantheon.mkStrOption;
multiplexer = lib.pantheon.mkStrOption;
fetch = lib.pantheon.mkStrOption;

View file

@ -9,6 +9,7 @@
enable = true;
settings.vim = {
hideSearchHighlight = true;
searchCase = "ignore";
undoFile.enable = true;
fzf-lua.enable = true;
git.enable = true;
@ -20,9 +21,11 @@
keymaps = import ./keymaps.nix;
languages = import ./languages.nix;
lsp = import ./lsp.nix;
navigation = import ./navigation.nix;
notes = import ./notes.nix;
options = import ./options.nix;
notify = import ./notify.nix;
snippets = import ./snippets.nix;
utility = import ./utility.nix;
visuals = import ./visuals.nix;
};

View file

@ -0,0 +1,5 @@
{
harpoon = {
enable = true;
};
}

View file

@ -0,0 +1,3 @@
{
todo-comments.enable = true;
}

View file

@ -1,3 +1,2 @@
{
}

View file

@ -4,5 +4,6 @@
expandtab = true;
tabstop = 2;
shiftwidth = 2;
updatetime = 0;
backspace = "indent,eol,start";
}

View file

@ -0,0 +1,6 @@
{
luasnip = {
enable = true;
setupOpts.enable_autosnippets = true;
};
}

View file

@ -1,6 +1,7 @@
{
indent-blankline.enable = true;
fidget-nvim.enable = true;
fidget-nvim.setupOpts.notification.override_vim_notify = true;
nvim-cursorline.enable = true;
nvim-web-devicons.enable = true;
rainbow-delimiters.enable = true;

View file

@ -6,7 +6,6 @@
}:
{
config = lib.mkIf (config.hardware.gpu == "nvidia") {
#TODO: Setup CUDA
hardware.graphics.enable = true;
hardware.graphics.extraPackages = with pkgs; [
nvidia-vaapi-driver