aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2022-09-27 17:10:19 +0300
committerGitHub <noreply@github.com>2022-09-27 16:10:19 +0200
commitf46060c4cbc1efe100019075214def53fe4d47b3 (patch)
treed48814921a0c9974da35cbc5f5a8ece796f4c730 /runtime/lua/vim
parent6afe5cce7964258f7ee0b25ae08faa551bc76090 (diff)
downloadrneovim-f46060c4cbc1efe100019075214def53fe4d47b3.tar.gz
rneovim-f46060c4cbc1efe100019075214def53fe4d47b3.tar.bz2
rneovim-f46060c4cbc1efe100019075214def53fe4d47b3.zip
vim-patch:9.0.0604: luacheckrc file is not recognized (#20371)
Problem: Luacheckrc file is not recognized. Solution: Use lua filetype for luacheckrc. (closes vim/vim#11236) https://github.com/vim/vim/commit/49c311c9b18e18c05f93728d1f8a552923a18423
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index a7a34a54cd..d584d2659d 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -1455,6 +1455,7 @@ local filename = {
['.sawfishrc'] = 'lisp',
['/etc/login.access'] = 'loginaccess',
['/etc/login.defs'] = 'logindefs',
+ ['.luacheckrc'] = 'lua',
['lynx.cfg'] = 'lynx',
['m3overrides'] = 'm3build',
['m3makefile'] = 'm3build',