summaryrefslogtreecommitdiffstats
path: root/indent/tsx.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/typescriptreact.vim (renamed from indent/tsx.vim)2
1 files changed, 1 insertions, 1 deletions
diff --git a/indent/tsx.vim b/indent/typescriptreact.vim
index 3c59cc3f..65db50dc 100644
--- a/indent/tsx.vim
+++ b/indent/typescriptreact.vim
@@ -1,5 +1,6 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
+exe 'runtime! indent/typescript.vim'
" Save the current JavaScript indentexpr.
let b:tsx_ts_indentexpr = &indentexpr
@@ -110,5 +111,4 @@ fu! GetTsxIndent()
return ind
endfu
-
endif