diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-04-20 21:14:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-04-20 21:14:09 +0200 |
commit | 63276685f90fca8b1a0be3a6734759fa82b7be0c (patch) | |
tree | 4da8a198017c840e2e68f3e45a2ca0713b57b25a /runtime | |
parent | 8238f08838c0b481d0b14a741bc03f2e45c211d3 (diff) |
patch 8.2.2790: filetype test failsv8.2.2790
Problem: filetype test fails
Solution: Also update the scripts detection
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/scripts.vim | 8 |
1 files 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 |