mirror of
https://github.com/windwp/nvim-ts-autotag.git
synced 2025-01-01 13:59:13 -06:00
including typescript.tsx and javascript.jsx filetypes (#12)
This commit is contained in:
parent
caa6d0be04
commit
00b79b593a
@ -62,7 +62,7 @@ M.is_supported = function (lang)
|
||||
end
|
||||
|
||||
local function is_jsx()
|
||||
return is_in_table({'typescriptreact', 'javascriptreact', 'javascript', 'typescript'}, vim.bo.filetype)
|
||||
return is_in_table({'typescriptreact', 'javascriptreact', 'javascript.jsx', 'typescript.tsx', 'javascript', 'typescript'}, vim.bo.filetype)
|
||||
end
|
||||
|
||||
local function get_ts_tag()
|
||||
|
Loading…
Reference in New Issue
Block a user