shaunsingh / nord.nvim

Neovim theme based off of the Nord Color Palette, written in lua with tree sitter support
GNU General Public License v2.0
796 stars 107 forks source link

Variables/parameters with uppercase names colored as constants (CPP) #131

Open hejersbo opened 1 year ago

hejersbo commented 1 year ago

When working with CPP files, variables and parameters with uppercase names are colored as constants (yellow). Please see examples in capture below (variables BB and CB). When querying :TSHighlightCaptureUnderCursor on the uppercase symbols (e.g. 'BB'), the result returns both @variable(95) and @constant (see capture). I would expect variables to be treated identically regardless of casing. So 'BB' and 'CB' should be white as the other variables.

image