summaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-29 21:24:21 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-29 21:24:21 +0200
commit4fb15c647658b15230c61857c644230a03881904 (patch)
tree0a989be254485b3140d0f43bb41b12f6e6df2b1c /runtime/ftplugin
parent1fb0831a0e9f9b6f18f1f8b549191bd547d0e095 (diff)
downloadvim-git-4fb15c647658b15230c61857c644230a03881904.tar.gz
patch 8.1.1937: errors when using javascriptreactv8.1.1937
Problem: Errors when using javascriptreact. Solution: Use ":runtime" instead of ":source". (closes #4875)
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/javascriptreact.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ftplugin/javascriptreact.vim b/runtime/ftplugin/javascriptreact.vim
index ea5c9f5d9..af318a01d 100644
--- a/runtime/ftplugin/javascriptreact.vim
+++ b/runtime/ftplugin/javascriptreact.vim
@@ -1,2 +1,2 @@
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
-source %:h/javascript.vim
+runtime! ftplugin/javascript.vim