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

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',