aboutsummaryrefslogtreecommitdiff
path: root/scripts/lua2dox.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lua2dox.lua')
-rw-r--r--scripts/lua2dox.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/lua2dox.lua b/scripts/lua2dox.lua
index 01bb8ab57a..7594a0e7df 100644
--- a/scripts/lua2dox.lua
+++ b/scripts/lua2dox.lua
@@ -58,7 +58,11 @@ local TYPES = { 'integer', 'number', 'string', 'table', 'list', 'boolean', 'func
local TAGGED_TYPES = { 'TSNode', 'LanguageTree' }
-- Document these as 'table'
-local ALIAS_TYPES = { 'Range', 'Range4', 'Range6', 'TSMetadata' }
+local ALIAS_TYPES = {
+ 'Range', 'Range4', 'Range6', 'TSMetadata',
+ 'vim.filetype.add.filetypes',
+ 'vim.filetype.match.args'
+}
local debug_outfile = nil --- @type string?
local debug_output = {}