You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently switched to melange and have been loving it so far!
I have semantic highlighting enabled and noticed that function parameters are highlighted in bold whereas global variables are highlighted the same as local variables. This appears to be the same with gruvbox.nvim, too.
Personally, I find this counterintuitive, as I would prefer function parameters and global variables to be highlighted the same and local variables to be highlighted in a different colour, so I can distinguish what is local from what is/could be global. This is the way it appears to be handled in kanagawa.nvim.
Would you welcome a PR for such a change or is there a reason why semantic highlights are currently defined this way?
I also find the bold white font a little too intense and distracting, but that might be just me. I presume the reason for the bold font is that it doesn't introduce another colour and therefore doesn't mess with the melange philosophy of warm colours for control flow and cold colours for data?
What do you think?
The text was updated successfully, but these errors were encountered:
paulhdk
changed the title
Semantic highlighting of global variables
Semantic Highlighting of Global Variables
Jan 5, 2025
I recently switched to melange and have been loving it so far!
I have semantic highlighting enabled and noticed that function parameters are highlighted in bold whereas global variables are highlighted the same as local variables. This appears to be the same with gruvbox.nvim, too.
Personally, I find this counterintuitive, as I would prefer function parameters and global variables to be highlighted the same and local variables to be highlighted in a different colour, so I can distinguish what is local from what is/could be global. This is the way it appears to be handled in kanagawa.nvim.
Would you welcome a PR for such a change or is there a reason why semantic highlights are currently defined this way?
I also find the bold white font a little too intense and distracting, but that might be just me. I presume the reason for the bold font is that it doesn't introduce another colour and therefore doesn't mess with the melange philosophy of warm colours for control flow and cold colours for data?
What do you think?
The text was updated successfully, but these errors were encountered: