forked from aniani/vim
patch 8.2.4095: sed script not recognized by the first line
Problem: Sed script not recognized by the first line. Solution: Recognize a sed script starting with "#n". (Doug Kearns)
This commit is contained in:
@@ -654,7 +654,7 @@ let s:script_checks = {
|
||||
\ ['#!/path/nodejs'],
|
||||
\ ['#!/path/rhino']],
|
||||
\ 'bc': [['#!/path/bc']],
|
||||
\ 'sed': [['#!/path/sed']],
|
||||
\ 'sed': [['#!/path/sed'], ['#n'], ['#n comment']],
|
||||
\ 'ocaml': [['#!/path/ocaml']],
|
||||
\ 'awk': [['#!/path/awk'],
|
||||
\ ['#!/path/gawk']],
|
||||
|
||||
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4095,
|
||||
/**/
|
||||
4094,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user