docs: fix declerations

This commit is contained in:
Gerg-L 2024-09-25 18:36:08 -04:00
commit 1ee24d7c41
No known key found for this signature in database
2 changed files with 11 additions and 6 deletions

View file

@ -74,7 +74,7 @@
(lib.removePrefix (toString ../.)) (lib.removePrefix (toString ../.))
(lib.removePrefix "/") (lib.removePrefix "/")
(x: { (x: {
url = "https://github.com/NotAShelf/nvf/blob/main/${decl}"; url = "https://github.com/NotAShelf/nvf/blob/main/${x}";
name = "<nvf/${x}>"; name = "<nvf/${x}>";
}) })
] ]

View file

@ -8,7 +8,7 @@
# The core neovim modules. # The core neovim modules.
# Contains configuration for core neovim features # Contains configuration for core neovim features
# such as spellchecking, mappings, and the init script (init.vim). # such as spellchecking, mappings, and the init script (init.vim).
neovim = map (p: "${./neovim}/${p}") [ neovim = map (p: ./neovim + "/${p}") [
"init" "init"
"mappings" "mappings"
]; ];
@ -16,7 +16,7 @@
# Individual plugin modules, separated by the type of plugin. # Individual plugin modules, separated by the type of plugin.
# While adding a new type, you must make sure your type is # While adding a new type, you must make sure your type is
# included in the list below. # included in the list below.
plugins = map (p: "${./plugins}/${p}") [ plugins = map (p: ./plugins + "/${p}") [
"assistant" "assistant"
"autopairs" "autopairs"
"comments" "comments"
@ -46,7 +46,7 @@
# The neovim wrapper, used to build a wrapped neovim package # The neovim wrapper, used to build a wrapped neovim package
# using the configuration passed in `neovim` and `plugins` modules. # using the configuration passed in `neovim` and `plugins` modules.
wrapper = map (p: "${./wrapper}/${p}") [ wrapper = map (p: ./wrapper + "/${p}") [
"build" "build"
"rc" "rc"
"warnings" "warnings"
@ -54,11 +54,16 @@
# Extra modules, such as deprecation warnings # Extra modules, such as deprecation warnings
# or renames in one place. # or renames in one place.
extra = map (p: "${./extra}/${p}") [ extra = map (p: ./extra + "/${p}") [
"deprecations.nix" "deprecations.nix"
]; ];
in in
concatLists [neovim plugins wrapper extra]; concatLists [
neovim
plugins
wrapper
extra
];
in in
allModules allModules
++ [ ++ [