From b8a2220f5eb32ead6b66f7c49b7e915883bf3539 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 29 May 2023 10:25:05 +0200 Subject: vim-patch:9.0.1587: Corn config files are not recognized (#23807) Problem: Corn config files are not recognized. Solution: Add a pattern for Corn config files. (Jake Stanger, closes vim/vim#12449) https://github.com/vim/vim/commit/05843e89601c03389a2d7978e7e16aec641a3dc4 Co-authored-by: Jake Stanger --- runtime/lua/vim/filetype.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 57df621153..6990de3391 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -241,6 +241,7 @@ local extension = { copyright = function(path, bufnr) return require('vim.filetype.detect').copyright(bufnr) end, + corn = 'corn', csh = function(path, bufnr) return require('vim.filetype.detect').csh(path, bufnr) end, -- cgit