Fix panic loading language queries (#9506)

Release Notes:

- Fixed a panic when loading a language with queries but no grammar
18fa84b17eConrad Irwin committed on 3/18/2024, 8:25:26 PM· committed by GitHubparentf738bfd
2 files changedLine totals unavailable