shaunsingh / nord.nvim

Neovim theme based off of the Nord Color Palette, written in lua with tree sitter support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

hejersbo opened this issue · comments

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