Mercurial > vim
comparison src/testdir/test_quickfix.vim @ 23938:2a885d095bff v8.2.2511
patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some places
Commit: https://github.com/vim/vim/commit/39f3b1411068ff187b4f9f482b2d6b2c1e7a7268
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 14 12:57:36 2021 +0100
patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some places
Problem: Vim9: cannot use Vim9 script syntax in some places.
Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
mean ":vim9cmd" instead of ":vim9script".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Feb 2021 13:00:04 +0100 |
parents | 8b682f6f3709 |
children | 24887299c5ff |
comparison
equal
deleted
inserted
replaced
23937:0a317b1a93cd | 23938:2a885d095bff |
---|---|
707 | 707 |
708 var rtp_save = &rtp | 708 var rtp_save = &rtp |
709 var dir = 'Xruntime/after' | 709 var dir = 'Xruntime/after' |
710 &rtp ..= ',' .. dir | 710 &rtp ..= ',' .. dir |
711 mkdir(dir .. '/ftplugin', 'p') | 711 mkdir(dir .. '/ftplugin', 'p') |
712 writefile(['vim9'], dir .. '/ftplugin/qf.vim') | 712 writefile(['vim9script'], dir .. '/ftplugin/qf.vim') |
713 filetype plugin on | 713 filetype plugin on |
714 silent helpgrep grail | 714 silent helpgrep grail |
715 cwindow | 715 cwindow |
716 silent helpgrep grail | 716 silent helpgrep grail |
717 | 717 |