The GitHub Search feature FAQ states
Symbol extraction is supported for C#, Python, Go, Java, JavaScript, TypeScript, PHP, Protocol Buffers, Ruby, and Rust. We’re working on adding more. If you’re interested in contributing language support, we use the open source Tree-sitter parser ecosystem. If you can add Tree-sitter support for your language, we can probably support it!
https://cs.github.com/about/faq#languages
It’d be super helpful to allow good Nix search on GitHub since most Nix is on GitHub.
There is already GitHub - cstrahan/tree-sitter-nix: Nix grammar for tree-sitter
@cstrahan : it could probably benefit from becoming an “official” package in the NixOS org, to be then used by GitHub team?