Patch 9.0.1475
Problem:    Busted configuration files are not recognized.
Solution:   Recognize busted configuration files as Lua. (Craig MacEachern,
            closes #12209)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1474/runtime/filetype.vim        2023-04-18 20:53:17.730241973 
+0100
--- runtime/filetype.vim        2023-04-22 12:37:45.603101145 +0100
***************
*** 273,278 ****
--- 273,281 ----
    autocmd BufRead,BufNewFile *.BUILD,BUILD            setf bzl
  endif
  
+ " Busted (Lua unit testing framework - configuration files)
+ au BufNewFile,BufRead .busted                 setf lua
+ 
  " C or lpc
  au BufNewFile,BufRead *.c                     call dist#ft#FTlpc()
  au BufNewFile,BufRead *.lpc,*.ulpc            setf lpc
*** ../vim-9.0.1474/src/testdir/test_filetype.vim       2023-04-18 
20:53:17.730241973 +0100
--- src/testdir/test_filetype.vim       2023-04-22 12:37:45.603101145 +0100
***************
*** 345,351 ****
      \ 'lpc': ['file.lpc', 'file.ulpc'],
      \ 'lsl': ['file.lsl'],
      \ 'lss': ['file.lss'],
!     \ 'lua': ['file.lua', 'file.rockspec', 'file.nse', '.luacheckrc'],
      \ 'lynx': ['lynx.cfg'],
      \ 'lyrics': ['file.lrc'],
      \ 'm3build': ['m3makefile', 'm3overrides'],
--- 345,351 ----
      \ 'lpc': ['file.lpc', 'file.ulpc'],
      \ 'lsl': ['file.lsl'],
      \ 'lss': ['file.lss'],
!     \ 'lua': ['file.lua', 'file.rockspec', 'file.nse', '.luacheckrc', 
'.busted'],
      \ 'lynx': ['lynx.cfg'],
      \ 'lyrics': ['file.lrc'],
      \ 'm3build': ['m3makefile', 'm3overrides'],
*** ../vim-9.0.1474/src/version.c       2023-04-21 19:51:17.455041775 +0100
--- src/version.c       2023-04-22 12:39:44.366984509 +0100
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1475,
  /**/

-- 
BEDEVERE: Stand by for attack!!
   [CUT TO enormous army forming up.  Trebuchets, rows of PIKEMEN, siege
   towers, pennants flying, shouts of "Stand by for attack!"  Traditional
   army build-up shots.  The shouts echo across the ranks of the army.
   We see various groups reacting, and stirring themselves in readiness.]
ARTHUR:   Who are they?
BEDEVERE: Oh, just some friends!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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/20230422114140.DC3671C078F%40moolenaar.net.

Raspunde prin e-mail lui