From d19ede86eabfde8416beabf3b2f636d2771ab1cf Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 22 Apr 2021 08:23:41 -0400 Subject: [PATCH] vim-patch:8.2.2790: filetype test fails Problem: filetype test fails Solution: Also update the scripts detection https://github.com/vim/vim/commit/63276685f90fca8b1a0be3a6734759fa82b7be0c --- runtime/scripts.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/scripts.vim b/runtime/scripts.vim index cae5485f8a..0b3fdc3514 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