commit | 92852cee3fcff1dc6ce12387b234634e73267b22 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Aug 26 21:28:15 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Aug 26 21:28:15 2019 +0200 |
tree | 4cd717def18e5f195d56c3893322f45f304e667c | |
parent | 8e95636a282f3eac808c0e00c053b33334cc283e [diff] [blame] |
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 #4830)
diff --git a/runtime/ftplugin/javascriptreact.vim b/runtime/ftplugin/javascriptreact.vim new file mode 100644 index 0000000..ea5c9f5 --- /dev/null +++ b/runtime/ftplugin/javascriptreact.vim
@@ -0,0 +1,2 @@ +" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript. +source %:h/javascript.vim