Skip to content

Incorrect syntax highlighting when using variables inside square brackets #8

@msagarpatel

Description

@msagarpatel

Syntax highlighting shows up as bright pink (ie. invalid.illegal.expected-range-separator.gnuplot) for variables used inside square brackets. Try this minimal reproducible example.

binwidth=100
plot x
set xrange [GPVAL_X_MIN-binwidth:GPVAL_X_MAX]
plot x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions