fix(filetype): add missing return to changelog detection function (#20403)

This commit is contained in:
Jonas Strittmatter 2022-09-29 16:26:19 +02:00 committed by GitHub
parent 94718e479d
commit 33dd917d7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1734,7 +1734,7 @@ local pattern = {
{ priority = -1 },
},
['[cC]hange[lL]og.*'] = starsetf(function(path, bufnr)
require('vim.filetype.detect').changelog(bufnr)
return require('vim.filetype.detect').changelog(bufnr)
end),
['.*%.%.ch'] = 'chill',
['.*%.cmake%.in'] = 'cmake',