An example shell script:
pip install -ihttps://mirrors.bfsu.edu.cn/pypi/web/simple -rrequirements.txt
-rrequirements.txt is a short form for -r requirements.txt. So how about setlocal includeexpr=substitute(v:fname,'^-.','','g') for all shell filetype (sh/bash/zsh/etc)?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
this should be discussed with the respective runtime file maintainers for (sh/bash/zsh)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Thanks. Vim filetypes have many shells: sh csh wsh zsh bash fish ps1 .... Any method to contact them all at once?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Maintainers of different shells may make different decisions, and csh, POSIX sh, bash, zsh, PowerShell, and fish are not the same shells and the syntax highlight implementations are quite different because the syntaxes are quite different.
For example for zsh, it seems to me that using the include and includeexpr for zsh modules makes much more sense than flags, so I'm not sure I'd be in favour of including that there. But bash and sh don't have this feature, so maybe it makes more sense there? Although source / . seems to make more sense than flags to me. Don't know about fish and PowerShell.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Maintainers of different shells may make different decisions
I see. Maybe let them do these decision by themselves is the best method.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Closed #11045 as completed.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()