Skip to content

Commit

Permalink
patch 8.1.1937: errors when using javascriptreact
Browse files Browse the repository at this point in the history
Problem:    Errors when using javascriptreact.
Solution:   Use ":runtime" instead of ":source". (closes #4875)
  • Loading branch information
brammool committed Aug 29, 2019
1 parent 1fb0831 commit 4fb15c6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion runtime/indent/javascriptreact.vim
@@ -1,2 +1,2 @@
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
source %:h/javascript.vim
runtime! indent/javascript.vim
2 changes: 1 addition & 1 deletion runtime/syntax/javascriptreact.vim
@@ -1,2 +1,2 @@
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
source %:h/javascript.vim
runtime! syntax/javascript.vim
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1937,
/**/
1936,
/**/
Expand Down

0 comments on commit 4fb15c6

Please sign in to comment.