Skip to content

[BUG]: Syntax highlighting: invalid redirection operators highlighted as valid #962

Open

Description

@RVC2020

I always confuse |& with &| I notice that, unlike ble.sh, Flyline most of the time does not catch these types of errors.

Image

Version:

flyline 1.7.1
git hash: b6d4412
build mode: release
build datetime: 2026-08-19T20:23:55Z
build target: x86_64-unknown-linux-gnu
rustc version: rustc 1.97.1 (8bab26f4f 2026-07-14)

Running in: Bash 5.2.21(1)-release
shell: /bin/bash

Running in: xterm-256color (WezTerm)
multiplexer: none
device attributes raw: >1;277;0
device attributes version: 20220408
program: WezTerm
program version: 20240203-110809-5046fc22
locale: en_US.UTF-8 (LC_ALL: unknown, LC_CTYPE: unknown)

Running in: Linux Mint 22.3 (kernel 6.8.0-138-generic x86_64)
system linker: GNU ld (GNU Binutils for Ubuntu) 2.42
dynamic linker: ldd (Ubuntu GLIBC 2.39-0ubuntu8.8) 2.39

Running on: AMD Ryzen 5 5500 (12 cores)

Running in: a simulation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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