From b4c06c71dc2b60e0c6cd9d6188c0f7ac2dc89dfe Mon Sep 17 00:00:00 2001 From: Gerg-L <88247690+Gerg-L@users.noreply.github.com> Date: Wed, 25 Sep 2024 22:46:47 +0000 Subject: [PATCH] docs: fix declerations (#381) * docs: fix declerations * fix: formatting for your baldness --- docs/default.nix | 2 +- modules/modules.nix | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/default.nix b/docs/default.nix index cce02b1..48cff56 100644 --- a/docs/default.nix +++ b/docs/default.nix @@ -74,7 +74,7 @@ (lib.removePrefix (toString ../.)) (lib.removePrefix "/") (x: { - url = "https://github.com/NotAShelf/nvf/blob/main/${decl}"; + url = "https://github.com/NotAShelf/nvf/blob/main/${x}"; name = ""; }) ] diff --git a/modules/modules.nix b/modules/modules.nix index 195652d..1204e43 100644 --- a/modules/modules.nix +++ b/modules/modules.nix @@ -8,7 +8,7 @@ # The core neovim modules. # Contains configuration for core neovim features # such as spellchecking, mappings, and the init script (init.vim). - neovim = map (p: "${./neovim}/${p}") [ + neovim = map (p: ./neovim + "/${p}") [ "init" "mappings" ]; @@ -16,7 +16,7 @@ # Individual plugin modules, separated by the type of plugin. # While adding a new type, you must make sure your type is # included in the list below. - plugins = map (p: "${./plugins}/${p}") [ + plugins = map (p: ./plugins + "/${p}") [ "assistant" "autopairs" "comments" @@ -46,7 +46,7 @@ # The neovim wrapper, used to build a wrapped neovim package # using the configuration passed in `neovim` and `plugins` modules. - wrapper = map (p: "${./wrapper}/${p}") [ + wrapper = map (p: ./wrapper + "/${p}") [ "build" "rc" "warnings" @@ -54,7 +54,7 @@ # Extra modules, such as deprecation warnings # or renames in one place. - extra = map (p: "${./extra}/${p}") [ + extra = map (p: ./extra + "/${p}") [ "deprecations.nix" ]; in