tree-sitter-supercollider icon indicating copy to clipboard operation
tree-sitter-supercollider copied to clipboard

Block-local variables with single letter names are highlighted as interpreter variables

Open catniptwinz opened this issue 3 years ago • 4 comments

With highlighting enabled, {|x| x } results in the second x (in the body of the function) being highlighted as if it were a single-letter interpreter variable, whereas {|foo| foo } highlights both foo correctly.

I'm on the current commit, per nvim-treesitter's lockfile.json:

  "supercollider": {
    "revision": "a7201b61779be59ac0fc0d118746c886dbc3edbd"
  },

catniptwinz avatar Jan 16 '22 22:01 catniptwinz