HiPhish / rainbow-delimiters.nvim

Rainbow delimiters for Neovim with Tree-sitter
https://gitlab.com/HiPhish/rainbow-delimiters.nvim
Apache License 2.0
490 stars 37 forks source link

Color C++ namespaces #7

Closed MCredstoner2004 closed 1 year ago

MCredstoner2004 commented 1 year ago

Makes cpp query also match namespace declarations in C++

HiPhish commented 1 year ago

Thank you. Nest time please add a small sample of the pattern you are matching to the highlight test file. It does not have to be anything complicated, just enough to match the pattern. For C++ that's test/highlight/cpp/regular.cpp. It's not a big deal here because I know enough C++, but I might not be able to do it for other languages.