To: vim_dev@googlegroups.com Subject: Patch 8.1.1937 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.1937 (after 8.1.1930) Problem: Errors when using javascriptreact. Solution: Use ":runtime" instead of ":source". (closes #4875) Files: runtime/syntax/javascriptreact.vim, runtime/indent/javascriptreact.vim, runtime/ftplugin/javascriptreact.vim *** ../vim-8.1.1936/runtime/syntax/javascriptreact.vim 2019-08-26 21:27:50.533526608 +0200 --- runtime/syntax/javascriptreact.vim 2019-08-29 21:18:29.399940450 +0200 *************** *** 1,2 **** " Placeholder for backwards compatilibity: .jsx used to stand for JavaScript. ! source %:h/javascript.vim --- 1,2 ---- " Placeholder for backwards compatilibity: .jsx used to stand for JavaScript. ! runtime! syntax/javascript.vim *** ../vim-8.1.1936/runtime/indent/javascriptreact.vim 2019-08-26 21:27:50.537526592 +0200 --- runtime/indent/javascriptreact.vim 2019-08-29 21:18:47.811862184 +0200 *************** *** 1,2 **** " Placeholder for backwards compatilibity: .jsx used to stand for JavaScript. ! source %:h/javascript.vim --- 1,2 ---- " Placeholder for backwards compatilibity: .jsx used to stand for JavaScript. ! runtime! indent/javascript.vim *** ../vim-8.1.1936/runtime/ftplugin/javascriptreact.vim 2019-08-26 21:27:50.537526592 +0200 --- runtime/ftplugin/javascriptreact.vim 2019-08-29 21:19:05.647786291 +0200 *************** *** 1,2 **** " Placeholder for backwards compatilibity: .jsx used to stand for JavaScript. ! source %:h/javascript.vim --- 1,2 ---- " Placeholder for backwards compatilibity: .jsx used to stand for JavaScript. ! runtime! ftplugin/javascript.vim *** ../vim-8.1.1936/src/version.c 2019-08-29 20:01:42.582771699 +0200 --- src/version.c 2019-08-29 21:22:57.334794933 +0200 *************** *** 763,764 **** --- 763,766 ---- { /* Add new patch number below this line */ + /**/ + 1937, /**/ -- Don't drink and drive. You might hit a bump and spill your beer. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///