Closed sdancer closed 1 year ago
This issue was resolved in the Discord, but for posterity:
type_identifier
is a bit special. Either way, these names are largely pulled straight from Gleam's parser.
If you want to capture function names, you can do so with this query:
(function
name: (identifier) @function_name)
Similarly for constants:
(constant
name: (identifier) @constant_name)