nvim-treesitter/queries/inko
Yorick Peterse 4ae2b452e9
fix(inko): highlighting of numeric call names (#6566)
Inko allows for syntax such as `some_value.42.to_string`, where `42` is
a method name. Similar to other languages that allow this (e.g. Rust),
these numeric names should be highlighted as numbers instead of
identifiers.

To fix this, the query to highlight call names is adjusted to only
highlight "name" and "constant" nodes as the function group, ensuring
the remaining possible node ("integer") continues to use the same group
as regular numbers.
2024-05-03 13:06:54 -07:00
..
folds.scm feat(inko): add support for Inko 2024-05-03 11:32:15 +02:00
highlights.scm fix(inko): highlighting of numeric call names (#6566) 2024-05-03 13:06:54 -07:00
indents.scm feat(inko): add support for Inko 2024-05-03 11:32:15 +02:00
injections.scm feat(inko): add support for Inko 2024-05-03 11:32:15 +02:00
locals.scm feat(inko): add support for Inko 2024-05-03 11:32:15 +02:00