From 1cb46abff1e903e999105b244329f22678ba8a30 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 22 Apr 2023 23:51:53 +0800 Subject: vim-patch:9.0.1475: busted configuration files are not recognized (#23266) Problem: Busted configuration files are not recognized. Solution: Recognize busted configuration files as Lua. (Craig MacEachern, closes vim/vim#12209) Co-authored-by: C.D. MacEachern --- runtime/lua/vim/filetype.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime') diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 6cfe6e6c35..cbd9aa640b 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1522,6 +1522,7 @@ local filename = { ['.lsl'] = function(path, bufnr) return require('vim.filetype.detect').lsl(bufnr) end, + ['.busted'] = 'lua', ['.luacheckrc'] = 'lua', ['lynx.cfg'] = 'lynx', ['m3overrides'] = 'm3build', -- cgit