branch: elpa/nix-mode commit c4abb64a64bb6102868509bfb7a7b1cdf440a96a Author: Akira Komamura <akira.komam...@gmail.com> Commit: Akira Komamura <akira.komam...@gmail.com>
nix-flake: Add a comment --- nix-flake.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix-flake.el b/nix-flake.el index b759a513c7..6729f2961b 100644 --- a/nix-flake.el +++ b/nix-flake.el @@ -102,6 +102,10 @@ already registered in either the user or the global registry." (cl-remove-if-not (pcase-lambda (`(,type . ,_)) (member type '("user" "global")))) (mapcar (lambda (cells) + ;; Both references and referees are included in the output. + ;; It may be better to pick only one and show others as + ;; decoration, e.g. using marginalia, but it is not supported + ;; for now. (list (nth 1 cells) (nth 2 cells)))) (flatten-list)))