lf- / nix-doc

An interactive Nix documentation tool providing a CLI for function search, a Nix plugin for docs in the REPL, and a ctags implementation for Nix script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

weak search

lf- opened this issue · comments

commented

Make it possible to disable the heuristic if we are not finding anything while using it. Also, consider including searching non-functions in this heuristic-disabled case.

motivation:

dev/nixpkgs - [master●] » nix-doc runtimeShell
dev/nixpkgs - [master●] » rg 'runtimeShell ='
pkgs/top-level/all-packages.nix
8043:  runtimeShell = "${runtimeShellPackage}${runtimeShellPackage.shellPath}";