mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 18:36:30 +00:00
vim-patch:8.1.1937: errors when using javascriptreact #10885
Problem: Errors when using javascriptreact.
Solution: Use ":runtime" instead of ":source". (closes vim/vim#4875)
4fb15c6476
This commit is contained in:

committed by
Justin M. Keyes

parent
9f81acc076
commit
7ad1d00eaa
@@ -1,2 +1,2 @@
|
|||||||
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
|
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
|
||||||
source %:h/javascript.vim
|
runtime! ftplugin/javascript.vim
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
|
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
|
||||||
source %:h/javascript.vim
|
runtime! indent/javascript.vim
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
|
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
|
||||||
source %:h/javascript.vim
|
runtime! syntax/javascript.vim
|
||||||
|
Reference in New Issue
Block a user