neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit e789d652974226ce3a763e3052a7c3d9898d875e
parent 4cba53e09e6e9d9cf06e87431146b9707347bcd6
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Mon, 20 Mar 2023 22:04:13 +0100

Merge pull request #22742 from clason/vim-9.0.1415

vim-patch:9.0.{1415,1417}: more files are not recognized
Diffstat:
Mruntime/lua/vim/filetype.lua | 2++
Mtest/old/testdir/test_filetype.vim | 2++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua @@ -265,6 +265,7 @@ local extension = { end, cql = 'cqlang', crm = 'crm', + cr = 'crystal', csx = 'cs', cs = 'cs', csc = 'csc', @@ -349,6 +350,7 @@ local extension = { yaws = 'erlang', erb = 'eruby', rhtml = 'eruby', + esdl = 'esdl', ec = 'esqlc', EC = 'esqlc', strl = 'esterel', diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim @@ -133,6 +133,7 @@ let s:filename_checks = { \ 'cqlang': ['file.cql'], \ 'crm': ['file.crm'], \ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'], + \ 'crystal': ['file.cr'], \ 'cs': ['file.cs', 'file.csx'], \ 'csc': ['file.csc'], \ 'csdl': ['file.csdl'], @@ -191,6 +192,7 @@ let s:filename_checks = { \ 'epuppet': ['file.epp'], \ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'], \ 'eruby': ['file.erb', 'file.rhtml'], + \ 'esdl': ['file.esdl'], \ 'esmtprc': ['anyesmtprc', 'esmtprc', 'some-esmtprc'], \ 'esqlc': ['file.ec', 'file.EC'], \ 'esterel': ['file.strl'],