diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-22 08:23:41 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-02 12:54:06 -0400 |
commit | d19ede86eabfde8416beabf3b2f636d2771ab1cf (patch) | |
tree | a9c6e24fa242afdc127d8bc1f86c3d7f5be1b8c6 | |
parent | 0020858e1c22479fefc5a84c64e8eded3eeb97ef (diff) | |
download | rneovim-d19ede86eabfde8416beabf3b2f636d2771ab1cf.tar.gz rneovim-d19ede86eabfde8416beabf3b2f636d2771ab1cf.tar.bz2 rneovim-d19ede86eabfde8416beabf3b2f636d2771ab1cf.zip |
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
-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 |