Skip to content

Commit

Permalink
docs: fix declerations
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerg-L committed Sep 25, 2024
1 parent a56a83b commit 1ee24d7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<nvf/${x}>";
})
]
Expand Down
15 changes: 10 additions & 5 deletions modules/modules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
# 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"
];

# 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"
Expand Down Expand Up @@ -46,19 +46,24 @@

# 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"
];

# 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
++ [
Expand Down

0 comments on commit 1ee24d7

Please sign in to comment.