oxfist / night-owl.nvim

🦉 🌌 Night Owl colorscheme implementation for Neovim with support for Treesitter and semantic tokens
BSD 3-Clause "New" or "Revised" License
256 stars 17 forks source link

[Comment] Treesitter queries #22

Closed olimorris closed 1 year ago

olimorris commented 1 year ago

Firstly, congrats on the theme, it's beautiful and I've been a big fan of the original.

I created onedarkpro.nvim and implemented some custom Treesitter queries very similar to yourself.

Just wanted to offer some advice; it's been very helpful for me to prefix my custom queries with "@odp" like I've done here. It makes it super easy for people to understand the origin of where the query has come from when they run :Inspect. It also stops any collisions between your theme and any other themes that are installed.

oxfist commented 1 year ago

Hi @olimorris, thanks so much! This is actually a great idea, I think the amount of custom queries I have is still pretty manageable so I'll explore this change in the upcoming days.