chore: add comments

This commit is contained in:
n3oney 2023-05-22 19:00:33 +02:00
parent ce16eebd77
commit dced02feed
No known key found for this signature in database
GPG key ID: C786693DE727850E
2 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,8 @@ https://github.com/n3oney[n3oney]:
* Simplified luaConfigRC and configRC setting - they can now just take strings * Simplified luaConfigRC and configRC setting - they can now just take strings
* Refactored the resolveDag function - you can just provide a string now, which will default to dag.entryAnywhere
https://github.com/horriblename[horriblename]: https://github.com/horriblename[horriblename]:
* Added `clangd` as alternative lsp for C/++. * Added `clangd` as alternative lsp for C/++.

View file

@ -282,6 +282,7 @@ in {
dag, dag,
mapResult, mapResult,
}: let }: let
# When the value is a string, default it to dag.entryAnywhere
finalDag = lib.mapAttrs (name: value: finalDag = lib.mapAttrs (name: value:
if builtins.isString value if builtins.isString value
then nvim.dag.entryAnywhere value then nvim.dag.entryAnywhere value