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 | |
parent | 8e95636a282f3eac808c0e00c053b33334cc283e (diff) | |
download | vim-git-92852cee3fcff1dc6ce12387b234634e73267b22.tar.gz |
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')
-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 000000000..ea5c9f5d9 --- /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 |