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 -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///