]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(tsx): add indentation plugin (fixes #13574) (#13576)
authorJōshin <mrdomino@gmail.com>
Sat, 25 Nov 2023 14:38:09 +0000 (09:38 -0500)
committerGitHub <noreply@github.com>
Sat, 25 Nov 2023 14:38:09 +0000 (15:38 +0100)
for now, let's just use the typescript indent file.

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/indent/typescriptreact.vim [new file with mode: 0644]

diff --git a/runtime/indent/typescriptreact.vim b/runtime/indent/typescriptreact.vim
new file mode 100644 (file)
index 0000000..052bddd
--- /dev/null
@@ -0,0 +1,2 @@
+" Placeholder for backwards compatilibity: .tsx used to stand for TypeScript.
+runtime! indent/typescript.vim