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

            Bug ID: 375245
           Summary: Bash Syntax highlighting/color for option
           Product: kate
           Version: 16.08
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 103488
  --> https://bugs.kde.org/attachment.cgi?id=103488&action=edit
Example script

Am not sure of the exact naming of these things, so apologize if not using the
correct naming to describe the problem here.    

# Short description: (Kate Version 16.12.1)   
Options for a command in bash are not colored if the first letter is capital;
the letter after hyphen. In a hyphen separated word, the second part of the
word and the hyphen are colored (interpreted as option/argument).

# Steps to reproduce:    
1- Go to Settings >Configure Kate >Fonts & Colors >Highlighting Text Styles
>Scripts/Bash >Scroll down to Option >Change color to #ff007f    
2- Open the attached example script in kate.  
3- See also the screenshot.    

# Expected result:
- Hyphen separated words shouldn't be treated as arguments/options.    
- Options starting with capital letters are also options.

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

Reply via email to