From f667a0e02ac5781a7b7e640b5dc9a7edcf2f4a0b Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 26 Aug 2019 19:49:40 -0400 Subject: vim-patch:8.1.1930: cannot recognize .jsx and .tsx files Problem: Cannot recognize .jsx and .tsx files. Solution: Recognize them as javascriptreact and typescriptreact. (closes vim/vim#4830) https://github.com/vim/vim/commit/92852cee3fcff1dc6ce12387b234634e73267b22 --- runtime/syntax/javascriptreact.vim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 runtime/syntax/javascriptreact.vim (limited to 'runtime/syntax/javascriptreact.vim') diff --git a/runtime/syntax/javascriptreact.vim b/runtime/syntax/javascriptreact.vim new file mode 100644 index 0000000000..ea5c9f5d99 --- /dev/null +++ b/runtime/syntax/javascriptreact.vim @@ -0,0 +1,2 @@ +" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript. +source %:h/javascript.vim -- cgit