nvf: settings changes

This commit is contained in:
Charlie Root 2024-09-09 09:14:27 +02:00
commit a2a1630006
4 changed files with 9 additions and 25 deletions

View file

@ -1,8 +0,0 @@
_: {
programs.neovim-flake.settings.vim = {
session.nvim-session-manager = {
enable = false;
setupOpts.autoload_mode = "Disabled"; # misbehaves with dashboard
};
};
}

View file

@ -26,7 +26,7 @@ _: {
}; };
borders = { borders = {
enable = false; enable = true;
globalStyle = "rounded"; globalStyle = "rounded";
}; };
}; };

View file

@ -4,10 +4,10 @@ _: {
enable = true; enable = true;
nvimWebDevicons.enable = true; nvimWebDevicons.enable = true;
indentBlankline.enable = true; indentBlankline.enable = false;
fidget-nvim = { fidget-nvim = {
enable = true; enable = false;
setupOpts = { setupOpts = {
notification.window = { notification.window = {
winblend = 0; winblend = 0;

View file

@ -1,4 +1,6 @@
# Credits to raf aka Notashelf, link to his repo is in the README.md # NOTE: Credits go to raf aka Notashelf, who wrote not only nvf
# but also most of this configuration, the
# link to his repo is in the README.md
{ {
config, config,
lib, lib,
@ -29,7 +31,7 @@ in {
# alternatively, neovim-nightly from the neovim-nightly overlay # alternatively, neovim-nightly from the neovim-nightly overlay
# via inputs.neovim-nightly.packages.${pkgs.stdenv.system}.neovim # via inputs.neovim-nightly.packages.${pkgs.stdenv.system}.neovim
package = pkgs.neovim-unwrapped; package = pkgs.neovim-unwrapped;
viAlias = true; viAlias = false;
vimAlias = true; vimAlias = true;
withNodeJs = false; withNodeJs = false;
@ -54,24 +56,14 @@ in {
}; };
additionalRuntimePaths = [ additionalRuntimePaths = [
#(mkRuntimeDir "after")
#(mkRuntimeDir "spell")
./runtime ./runtime
./runtime ./runtime
]; ];
# while I should be doing this in luaConfigRC below
# I have come to realise that spellfile contents are
# actually **not** loaded when luaConfigRC is used.
# as spellfile is a vim thing, this should be fine
# configRC.spellfile = entryAnywhere ''
# set spellfile=${toString ./runtime/spell/en.utf-8.add} " toString sanitizes the path
# '';
# additional lua configuration that I can append # additional lua configuration that I can append
# or, to be more precise, randomly inject into # or, to be more precise, randomly inject into
# the lua configuration of my Neovim configuration # the lua configuration of nvf.
# wrapper. This is recursively read from the lua # This is recursively read from the lua
# directory, so we do not need to use require # directory, so we do not need to use require
luaConfigRC = let luaConfigRC = let