mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -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'
|
elseif s:name =~# 'lua'
|
||||||
set ft=lua
|
set ft=lua
|
||||||
|
|
||||||
" Perl 6
|
|
||||||
elseif s:name =~# 'perl6'
|
|
||||||
set ft=perl6
|
|
||||||
|
|
||||||
" Perl
|
" Perl
|
||||||
elseif s:name =~# 'perl'
|
elseif s:name =~# 'perl'
|
||||||
set ft=perl
|
set ft=perl
|
||||||
@ -130,6 +126,10 @@ if s:line1 =~# "^#!"
|
|||||||
elseif s:name =~# '^groovy\>'
|
elseif s:name =~# '^groovy\>'
|
||||||
set ft=groovy
|
set ft=groovy
|
||||||
|
|
||||||
|
" Raku
|
||||||
|
elseif s:name =~# 'raku'
|
||||||
|
set ft=raku
|
||||||
|
|
||||||
" Ruby
|
" Ruby
|
||||||
elseif s:name =~# 'ruby'
|
elseif s:name =~# 'ruby'
|
||||||
set ft=ruby
|
set ft=ruby
|
||||||
|
Loading…
Reference in New Issue
Block a user