Patch 9.0.0604
Problem:    Luacheckrc file is not recognized.
Solution:   Use lua filetype for luacheckrc. (closes #11236)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.0603/runtime/filetype.vim        2022-09-27 11:57:09.785256754 
+0100
--- runtime/filetype.vim        2022-09-27 13:02:34.551786267 +0100
***************
*** 1112,1117 ****
--- 1112,1120 ----
  " Lua
  au BufNewFile,BufRead *.lua                   setf lua
  
+ " Luacheck
+ au BufNewFile,BufRead .luacheckrc             setf lua
+ 
  " Luarocks
  au BufNewFile,BufRead *.rockspec              setf lua
  
*** ../vim-9.0.0603/src/testdir/test_filetype.vim       2022-09-27 
11:57:09.785256754 +0100
--- src/testdir/test_filetype.vim       2022-09-27 13:02:34.551786267 +0100
***************
*** 328,334 ****
      \ 'lpc': ['file.lpc', 'file.ulpc'],
      \ 'lsl': ['file.lsl'],
      \ 'lss': ['file.lss'],
!     \ 'lua': ['file.lua', 'file.rockspec', 'file.nse'],
      \ 'lynx': ['lynx.cfg'],
      \ 'lyrics': ['file.lrc'],
      \ 'm3build': ['m3makefile', 'm3overrides'],
--- 328,334 ----
      \ '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'],
*** ../vim-9.0.0603/src/version.c       2022-09-27 12:30:53.226180139 +0100
--- src/version.c       2022-09-27 13:05:36.783446036 +0100
***************
*** 701,702 ****
--- 701,704 ----
  {   /* Add new patch number below this line */
+ /**/
+     604,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
194. Your business cards contain your e-mail and home page address.

 /// 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/20220927120737.BCF5E1C071C%40moolenaar.net.

Raspunde prin e-mail lui