diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-26 21:28:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-26 21:28:15 +0200 |
commit | 92852cee3fcff1dc6ce12387b234634e73267b22 (patch) | |
tree | 4cd717def18e5f195d56c3893322f45f304e667c /runtime/indent/javascriptreact.vim | |
parent | 8e95636a282f3eac808c0e00c053b33334cc283e (diff) |
patch 8.1.1930: cannot recognize .jsx and .tsx filesv8.1.1930
Problem: Cannot recognize .jsx and .tsx files.
Solution: Recognize them as javascriptreact and typescriptreact.
(closes #4830)
Diffstat (limited to 'runtime/indent/javascriptreact.vim')
-rw-r--r-- | runtime/indent/javascriptreact.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/indent/javascriptreact.vim b/runtime/indent/javascriptreact.vim new file mode 100644 index 0000000000..ea5c9f5d99 --- /dev/null +++ b/runtime/indent/javascriptreact.vim @@ -0,0 +1,2 @@ +" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript. +source %:h/javascript.vim |