zyedidia / highlight

A Go package for syntax highlighting
Other
55 stars 32 forks source link

Ignore case of conditional flags in fish #13

Closed TeFiLeDo closed 2 years ago

TeFiLeDo commented 4 years ago

This allows for uppercase characters in conditional flags in .fish files.

I'd suggest this change, because some programs use uppercase characters in such positions. For example hugo has a --baseURL option and rusts clap library for command line parameter parsing by default provides -V as shorthand for --version.

TeFiLeDo commented 2 years ago

Alright, then not.