diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-08-23 20:48:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-23 20:48:43 +0200 |
commit | 9cd91a1e8816d727fbdbf0b3062288e15abc5f4d (patch) | |
tree | becb184e1562505100bdaa07efe3936019d3883f | |
parent | 73170917f14d1b0d919c65fbc0a9d011b87d94da (diff) | |
download | vim-git-9cd91a1e8816d727fbdbf0b3062288e15abc5f4d.tar.gz |
patch 8.2.3368: not all Racket files are recognizedv8.2.3368
Problem: Not all Racket files are recognized.
Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
-rw-r--r-- | runtime/filetype.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_filetype.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index ad18b7655..70b647bd8 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1623,7 +1623,7 @@ au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh 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 diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index bda6f3ccf..5463c1c87 100644 --- 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'], diff --git a/src/version.c b/src/version.c index 619c840f9..a439d99d4 100644 --- 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, |