diff options
author | ObserverOfTime <chronobserver@disroot.org> | 2022-09-27 13:07:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-27 13:07:05 +0100 |
commit | 49c311c9b18e18c05f93728d1f8a552923a18423 (patch) | |
tree | 321f54960c824c0a56f9444ab782e8f866b26064 /runtime/filetype.vim | |
parent | 7c1cbb6cd437c6e0c3ccc05840cc931108b4a60a (diff) |
patch 9.0.0604: luacheckrc file is not recognizedv9.0.0604
Problem: Luacheckrc file is not recognized.
Solution: Use lua filetype for luacheckrc. (closes #11236)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 725bb6d282..519ea330f7 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1112,6 +1112,9 @@ au BufNewFile,BufRead *.lou,*.lout setf lout " Lua au BufNewFile,BufRead *.lua setf lua +" Luacheck +au BufNewFile,BufRead .luacheckrc setf lua + " Luarocks au BufNewFile,BufRead *.rockspec setf lua |