Problem: Vim-script files may not be recognised
Solution: Add shebang line detection (Doug Kearns)
closes: #15012
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
elseif name =~ '^execlineb\>'
return 'execline'
+ # Vim
+ elseif name =~ '^vim\>'
+ return 'vim'
+
endif
return ''
['#!/path/regina']],
janet: [['#!/path/janet']],
dart: [['#!/path/dart']],
+ vim: [['#!/path/vim']],
}
enddef
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 492,
/**/
491,
/**/