From 1ee24d7c41bf1ba3396eb97b0c02e264177566c9 Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Wed, 25 Sep 2024 18:36:08 -0400 Subject: [PATCH] docs: fix declerations --- docs/default.nix | 2 +- modules/modules.nix | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/default.nix b/docs/default.nix index cce02b1d3..48cff5638 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 195652df1..dfd787f1e 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,11 +54,16 @@ # Extra modules, such as deprecation warnings # or renames in one place. - extra = map (p: "${./extra}/${p}") [ + extra = map (p: ./extra + "/${p}") [ "deprecations.nix" ]; in - concatLists [neovim plugins wrapper extra]; + concatLists [ + neovim + plugins + wrapper + extra + ]; in allModules ++ [