vim-patch:9.0.1409: racket files are recognized as scheme

Problem:    Racket files are recognized as scheme.
Solution:   Recognize rackets files separately. (Gabriel Kakizaki,
            closes vim/vim#12164, closes vim/vim#12162)

d11ac403db

Co-authored-by: Gabriel Kakizaki <gkakizaki@gmail.com>
This commit is contained in:
Christian Clason
2023-03-17 09:42:33 +01:00
parent f83d8ea279
commit 571b50be16
2 changed files with 5 additions and 4 deletions

View File

@@ -838,6 +838,9 @@ local extension = {
R = function(path, bufnr)
return require('vim.filetype.detect').r(bufnr)
end,
rkt = 'racket',
rktd = 'racket',
rktl = 'racket',
rad = 'radiance',
mat = 'radiance',
['pod6'] = 'raku',
@@ -910,9 +913,6 @@ local extension = {
ss = 'scheme',
scm = 'scheme',
sld = 'scheme',
rkt = 'scheme',
rktd = 'scheme',
rktl = 'scheme',
sce = 'scilab',
sci = 'scilab',
scss = 'scss',