mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
vim-patch:8.2.2790: filetype test fails
Problem: filetype test fails
Solution: Also update the scripts detection
63276685f9
This commit is contained in:
parent
0020858e1c
commit
d19ede86ea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user