fix(types): make filetype.add parameters optional

This commit is contained in:
Maria José Solano 2023-08-09 14:50:52 -07:00 committed by Lewis Russell
parent 1cf942204f
commit e6947bb1e8

View File

@ -2034,9 +2034,9 @@ local function normalize_path(path, as_pattern)
end
--- @class vim.filetype.add.filetypes
--- @field pattern vim.filetype.mapping
--- @field extension vim.filetype.mapping
--- @field filename vim.filetype.mapping
--- @field pattern? vim.filetype.mapping
--- @field extension? vim.filetype.mapping
--- @field filename? vim.filetype.mapping
--- Add new filetype mappings.
---