changeset 25664:8c3204d810a7 v8.2.3368

patch 8.2.3368: not all Racket files are recognized Commit: https://github.com/vim/vim/commit/9cd91a1e8816d727fbdbf0b3062288e15abc5f4d Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 23 20:48:43 2021 +0200 patch 8.2.3368: not all Racket files are recognized Problem: Not all Racket files are recognized. Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
author Bram Moolenaar <Bram@vim.org>
date Mon, 23 Aug 2021 21:00:05 +0200
parents f08b779ebf7a
children 24738d70517a
files runtime/filetype.vim src/testdir/test_filetype.vim src/version.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1623,7 +1623,7 @@ au BufNewFile,BufRead .zshrc,.zshenv,.zl
 au BufNewFile,BufRead *.zsh			setf zsh
 
 " Scheme
-au BufNewFile,BufRead *.scm,*.ss,*.rkt		setf scheme
+au BufNewFile,BufRead *.scm,*.ss,*.rkt,*.rktd,*.rktl 	setf scheme
 
 " Screen RC
 au BufNewFile,BufRead .screenrc,screenrc	setf screen
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -428,7 +428,7 @@ let s:filename_checks = {
     \ 'sather': ['file.sa'],
     \ 'sbt': ['file.sbt'],
     \ 'scala': ['file.scala', 'file.sc'],
-    \ 'scheme': ['file.scm', 'file.ss', 'file.rkt'],
+    \ 'scheme': ['file.scm', 'file.ss', 'file.rkt', 'file.rktd', 'file.rktl'],
     \ 'scilab': ['file.sci', 'file.sce'],
     \ 'screen': ['.screenrc', 'screenrc'],
     \ 'sexplib': ['file.sexp'],
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3368,
+/**/
     3367,
 /**/
     3366,