From 25ed6ff970d7e64c4ebfc52952431f8b228113d5 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 4 Mar 2019 17:52:38 +0100 Subject: Reintroduce mdx --- ftdetect/polyglot.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index cf2ef355..9b91f84a 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -72,6 +72,9 @@ augroup filetypedetect "jinja autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja + "mdx + autocmd BufNewFile,BufRead *.mdx set filetype=markdown.mdx + "tsx autocmd BufNewFile,BufRead *.tsx setfiletype typescript.jsx augroup END -- cgit v1.2.3