https://bugs.kde.org/show_bug.cgi?id=475933

            Bug ID: 475933
           Summary: Fish syntax reported falsely as error
    Classification: Frameworks and Libraries
           Product: frameworks-syntax-highlighting
           Version: unspecified
          Platform: Archlinux
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: shaloksha...@protonmail.ch
                CC: walter.von.entfer...@posteo.net
  Target Milestone: ---

This is a false error flag for the fish scripting language

STEPS TO REPRODUCE
1. echo [(date +"%Y-%m-%dT%T%z")] [FISH] System is updated
2. Send this line in an active fish session
3. You will get this output, as intended

[2023-10-21T19:35:38+0200] [FISH] System is updated

OBSERVED RESULT

See Screenshot 1

The part [FISH] is reported as an error. 
The Kate syntax highlighting does format the specific part according to the
setting done within the "error" field in the settings. 

EXPECTED RESULT

The part is actually just a normal input and should be highlighted as the
'normal' setting. 

The brackets most likely confuse the framework, but this is valid code, I just
like to print [FISH]

Operating System: Garuda Linux 
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.5.7-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7,4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Manufacturer: HP
Product Name: HP EliteBook 820 G3

ADDITIONAL INFORMATION

I want the output as described since it is supposed to look like that in a log
file.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to