From a2a1630006e4b2398acc8351bbe4dc5b1a11bcec Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Mon, 9 Sep 2024 09:14:27 +0200 Subject: [PATCH] nvf: settings changes --- .../editors/nvf/plugins/settings/session.nix | 8 -------- .../editors/nvf/plugins/settings/ui.nix | 2 +- .../editors/nvf/plugins/settings/visuals.nix | 4 ++-- modules/programs/editors/nvf/settings.nix | 20 ++++++------------- 4 files changed, 9 insertions(+), 25 deletions(-) delete mode 100644 modules/programs/editors/nvf/plugins/settings/session.nix diff --git a/modules/programs/editors/nvf/plugins/settings/session.nix b/modules/programs/editors/nvf/plugins/settings/session.nix deleted file mode 100644 index 68d6e33..0000000 --- a/modules/programs/editors/nvf/plugins/settings/session.nix +++ /dev/null @@ -1,8 +0,0 @@ -_: { - programs.neovim-flake.settings.vim = { - session.nvim-session-manager = { - enable = false; - setupOpts.autoload_mode = "Disabled"; # misbehaves with dashboard - }; - }; -} diff --git a/modules/programs/editors/nvf/plugins/settings/ui.nix b/modules/programs/editors/nvf/plugins/settings/ui.nix index 95e7cd0..c6084bf 100644 --- a/modules/programs/editors/nvf/plugins/settings/ui.nix +++ b/modules/programs/editors/nvf/plugins/settings/ui.nix @@ -26,7 +26,7 @@ _: { }; borders = { - enable = false; + enable = true; globalStyle = "rounded"; }; }; diff --git a/modules/programs/editors/nvf/plugins/settings/visuals.nix b/modules/programs/editors/nvf/plugins/settings/visuals.nix index 7108d52..8152c9a 100644 --- a/modules/programs/editors/nvf/plugins/settings/visuals.nix +++ b/modules/programs/editors/nvf/plugins/settings/visuals.nix @@ -4,10 +4,10 @@ _: { enable = true; nvimWebDevicons.enable = true; - indentBlankline.enable = true; + indentBlankline.enable = false; fidget-nvim = { - enable = true; + enable = false; setupOpts = { notification.window = { winblend = 0; diff --git a/modules/programs/editors/nvf/settings.nix b/modules/programs/editors/nvf/settings.nix index dac00e9..4ae6634 100644 --- a/modules/programs/editors/nvf/settings.nix +++ b/modules/programs/editors/nvf/settings.nix @@ -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, lib, @@ -29,7 +31,7 @@ in { # alternatively, neovim-nightly from the neovim-nightly overlay # via inputs.neovim-nightly.packages.${pkgs.stdenv.system}.neovim package = pkgs.neovim-unwrapped; - viAlias = true; + viAlias = false; vimAlias = true; withNodeJs = false; @@ -54,24 +56,14 @@ in { }; additionalRuntimePaths = [ - #(mkRuntimeDir "after") - #(mkRuntimeDir "spell") ./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 # or, to be more precise, randomly inject into - # the lua configuration of my Neovim configuration - # wrapper. This is recursively read from the lua + # the lua configuration of nvf. + # This is recursively read from the lua # directory, so we do not need to use require luaConfigRC = let