mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
fix(types): make filetype.add parameters optional
This commit is contained in:
parent
1cf942204f
commit
e6947bb1e8
@ -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.
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user