From: Bram Moolenaar Date: Tue, 20 Apr 2021 19:14:09 +0000 (+0200) Subject: patch 8.2.2790: filetype test fails X-Git-Tag: v8.2.2790 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63276685f90fca8b1a0be3a6734759fa82b7be0c;p=vim patch 8.2.2790: filetype test fails Problem: filetype test fails Solution: Also update the scripts detection --- diff --git a/runtime/scripts.vim b/runtime/scripts.vim index cae5485f8..0b3fdc351 100644 --- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -110,10 +110,6 @@ if s:line1 =~# "^#!" elseif s:name =~# 'lua' set ft=lua - " Perl 6 - elseif s:name =~# 'perl6' - set ft=perl6 - " Perl elseif s:name =~# 'perl' set ft=perl @@ -130,6 +126,10 @@ if s:line1 =~# "^#!" elseif s:name =~# '^groovy\>' set ft=groovy + " Raku + elseif s:name =~# 'raku' + set ft=raku + " Ruby elseif s:name =~# 'ruby' set ft=ruby diff --git a/src/version.c b/src/version.c index 86d6f36bd..539d7d5e2 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2790, /**/ 2789, /**/