0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

patch 8.2.2790: filetype test fails

Problem:    filetype test fails
Solution:   Also update the scripts detection
This commit is contained in:
Bram Moolenaar 2021-04-20 21:14:09 +02:00
parent 8238f08838
commit 63276685f9
2 changed files with 6 additions and 4 deletions

View File

@ -110,10 +110,6 @@ if s:line1 =~# "^#!"
elseif s:name =~# 'lua' elseif s:name =~# 'lua'
set ft=lua set ft=lua
" Perl 6
elseif s:name =~# 'perl6'
set ft=perl6
" Perl " Perl
elseif s:name =~# 'perl' elseif s:name =~# 'perl'
set ft=perl set ft=perl
@ -130,6 +126,10 @@ if s:line1 =~# "^#!"
elseif s:name =~# '^groovy\>' elseif s:name =~# '^groovy\>'
set ft=groovy set ft=groovy
" Raku
elseif s:name =~# 'raku'
set ft=raku
" Ruby " Ruby
elseif s:name =~# 'ruby' elseif s:name =~# 'ruby'
set ft=ruby set ft=ruby

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2790,
/**/ /**/
2789, 2789,
/**/ /**/