D: fix duplicate @namespace capture

The previous query was highlighting everything inside that node,
but we only want to highlight the identifiers.

Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1930/files#r735105675
This commit is contained in:
Santos Gallegos 2021-10-30 11:50:56 -05:00 committed by Stephan Seitz
parent bd13991050
commit 0dd147e6b7

View file

@ -250,10 +250,8 @@
(fundamental_type) @type.builtin
[
(module_name)
(module_fully_qualified_name)
] @namespace
(module_fully_qualified_name (packages (package_name) @namespace))
(module_name) @namespace
(at_attribute) @attribute