Problem: Luacheckrc file is not recognized.
Solution: Use lua filetype for luacheckrc. (closes #11236)
" Lua
au BufNewFile,BufRead *.lua setf lua
+" Luacheck
+au BufNewFile,BufRead .luacheckrc setf lua
+
" Luarocks
au BufNewFile,BufRead *.rockspec setf lua
\ 'lpc': ['file.lpc', 'file.ulpc'],
\ 'lsl': ['file.lsl'],
\ 'lss': ['file.lss'],
- \ 'lua': ['file.lua', 'file.rockspec', 'file.nse'],
+ \ 'lua': ['file.lua', 'file.rockspec', 'file.nse', '.luacheckrc'],
\ 'lynx': ['lynx.cfg'],
\ 'lyrics': ['file.lrc'],
\ 'm3build': ['m3makefile', 'm3overrides'],
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 604,
/**/
603,
/**/