From 7a0f2d974f9ac5bc85607e8c769d3370dd18ac74 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 7 Dec 2019 12:21:37 +0100 Subject: Update --- after/ftplugin/javascriptreact.vim | 5 +++++ after/ftplugin/typescriptreact.vim | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 after/ftplugin/javascriptreact.vim create mode 100644 after/ftplugin/typescriptreact.vim (limited to 'after/ftplugin') diff --git a/after/ftplugin/javascriptreact.vim b/after/ftplugin/javascriptreact.vim new file mode 100644 index 00000000..e423f0ed --- /dev/null +++ b/after/ftplugin/javascriptreact.vim @@ -0,0 +1,5 @@ +if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) + +source :h/javascript.vim + +endif diff --git a/after/ftplugin/typescriptreact.vim b/after/ftplugin/typescriptreact.vim new file mode 100644 index 00000000..931839b1 --- /dev/null +++ b/after/ftplugin/typescriptreact.vim @@ -0,0 +1,5 @@ +if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) + +source :h/typescript.vim + +endif -- cgit v1.2.3