Patch 9.0.1409
Problem:    Racket files are recognized as scheme.
Solution:   Recognize rackets files separately. (Gabriel Kakizaki,
            closes #12164, closes #12162)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1408/runtime/filetype.vim        2023-03-16 19:30:40.986835087 
+0000
--- runtime/filetype.vim        2023-03-16 20:10:27.352882048 +0000
***************
*** 1655,1660 ****
--- 1655,1663 ----
  " Quarto
  au BufRead,BufNewFile *.qmd                   setf quarto
  
+ " Racket (formerly detected as "scheme")
+ au BufNewFile,BufRead *.rkt,*.rktd,*.rktl     setf racket
+ 
  " Radiance
  au BufNewFile,BufRead *.rad,*.mat             setf radiance
  
***************
*** 1922,1929 ****
  au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh
  au BufNewFile,BufRead *.zsh                   setf zsh
  
! " Scheme
! au BufNewFile,BufRead *.scm,*.ss,*.sld,*.rkt,*.rktd,*.rktl    setf scheme
  
  " Screen RC
  au BufNewFile,BufRead .screenrc,screenrc      setf screen
--- 1925,1932 ----
  au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh
  au BufNewFile,BufRead *.zsh                   setf zsh
  
! " Scheme ("racket" patterns are now separate, see above)
! au BufNewFile,BufRead *.scm,*.ss,*.sld                setf scheme
  
  " Screen RC
  au BufNewFile,BufRead .screenrc,screenrc      setf screen
*** ../vim-9.0.1408/src/testdir/test_filetype.vim       2023-03-16 
19:30:40.986835087 +0000
--- src/testdir/test_filetype.vim       2023-03-16 20:08:55.496876399 +0000
***************
*** 475,480 ****
--- 475,481 ----
      \ 'quake': ['anybaseq2/file.cfg', 'anyid1/file.cfg', 'quake3/file.cfg', 
'baseq2/file.cfg', 'id1/file.cfg', 'quake1/file.cfg', 'some-baseq2/file.cfg', 
'some-id1/file.cfg', 'some-quake1/file.cfg'],
      \ 'quarto': ['file.qmd'],
      \ 'r': ['file.r', '.Rprofile', 'Rprofile', 'Rprofile.site'],
+     \ 'racket': ['file.rkt', 'file.rktd', 'file.rktl'],
      \ 'radiance': ['file.rad', 'file.mat'],
      \ 'raku': ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 
'file.rakumod', 'file.rakudoc', 'file.rakutest'],
      \ 'raml': ['file.raml'],
***************
*** 513,519 ****
      \ 'sather': ['file.sa'],
      \ 'sbt': ['file.sbt'],
      \ 'scala': ['file.scala'],
!     \ 'scheme': ['file.scm', 'file.ss', 'file.sld', 'file.rkt', 'file.rktd', 
'file.rktl'],
      \ 'scilab': ['file.sci', 'file.sce'],
      \ 'screen': ['.screenrc', 'screenrc'],
      \ 'scss': ['file.scss'],
--- 514,520 ----
      \ 'sather': ['file.sa'],
      \ 'sbt': ['file.sbt'],
      \ 'scala': ['file.scala'],
!     \ 'scheme': ['file.scm', 'file.ss', 'file.sld'],
      \ 'scilab': ['file.sci', 'file.sce'],
      \ 'screen': ['.screenrc', 'screenrc'],
      \ 'scss': ['file.scss'],
*** ../vim-9.0.1408/src/version.c       2023-03-16 19:30:40.990835089 +0000
--- src/version.c       2023-03-16 20:12:31.780899237 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1409,
  /**/

-- 
Error:015 - Unable to exit Windows.  Try the door.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230316201506.AEF051C0CA2%40moolenaar.net.

Raspunde prin e-mail lui