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
The color of imported modules in python is identical to the color of regular local variables.
Also, the color for CONSTANTS is identical to the color of regular functions
example - left is neovim, right is VSCode
This issue isnt about being 100% identical to VSCode, but about having unique colors for constants and modules which is nice.
I do have treesitter installed.
The text was updated successfully, but these errors were encountered:
imported modules are treated with the hl group TSVariable which is why they have the same color as variables. I guess this is a TreeSitter problem that it does not give modules a new group (though they are technically just variables in python). Correct me if im wrong on this one.
Constants belong to TSConstant and are given vscYellow color by default. In VSCode the color for constants in python is #4fc1ff. CPP constants in VSCode are of the color vscBlue which looks better than yellow IMO.
to anyone interested this can be changed with:
For all constants:
The color of imported modules in python is identical to the color of regular local variables.
Also, the color for CONSTANTS is identical to the color of regular functions
example - left is neovim, right is VSCode

This issue isnt about being 100% identical to VSCode, but about having unique colors for constants and modules which is nice.
I do have treesitter installed.
The text was updated successfully, but these errors were encountered: