Re: Shell Syntax Highlighting - Group bashAdminStatement

2025-09-30 Thread Edward McGuire
The syntax highlighting problems I've faced in the past are with syntaxes that I can't limit to a specific part of a file, such as a markdown file that has a code region in it. The problem syntaxes use the "extend" keyword when they define a region. The "extend" keyword overrides the "keepend"

Re: Shell Syntax Highlighting - Group bashAdminStatement

2025-09-20 Thread Christian Brabandt
On Di, 16 Sep 2025, 'Björn Försterling' via vim_use wrote: > Hello, > > I am wondering about the syntax group "bashAdminStatement" in > "runtime/syntax/sh.vim". > The syntax highlighting for these words seems unfitting. > > syn keyword bashAdminStatement daemon killall killproc nice reload re

Re: Shell Syntax Highlighting - Group bashAdminStatement

2025-09-18 Thread 'Björn Försterling' via vim_use
Hello, ok, I will look into it. Regards Björn On Wed Sep 17, 2025 at 10:31 PM CEST, Christian Brabandt wrote: > Hi, > It's not only that, it's also that certain commands (ls cat chmod) are > only highlighted, if this is a detected bash or ksh script. I think we > should move those to just Sta

Re: Shell Syntax Highlighting - Group bashAdminStatement

2025-09-17 Thread Christian Brabandt
Hi, It's not only that, it's also that certain commands (ls cat chmod) are only highlighted, if this is a detected bash or ksh script. I think we should move those to just Statements. We don't have a shell runtime file maintainer anymore and I assume changing this breaks some existing syntax t

Re: Shell Syntax Highlighting - Group bashAdminStatement

2025-09-17 Thread 'Björn Försterling' via vim_use
Thank you for the answer. The words "daemon", "reload", "restart", "start", "status", and "stop" are neither bash keywords nor external commands. Maybe they were implemented for init scripts, but these are hardly used anymore today. The words "killall", "killproc", and "nice" are external command

Shell Syntax Highlighting - Group bashAdminStatement

2025-09-16 Thread 'Björn Försterling' via vim_use
Hello, I am wondering about the syntax group "bashAdminStatement" in "runtime/syntax/sh.vim". The syntax highlighting for these words seems unfitting. syn keyword bashAdminStatement daemon killall killproc nice reload restart start status stop Maybe these were designed for init scripts or syst