Mercurial > vim
comparison src/structs.h @ 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 | 4b417b776b95 |
children | 44be09b25619 |
comparison
equal
deleted
inserted
replaced
23937:0a317b1a93cd | 23938:2a885d095bff |
---|---|
640 #define CMOD_KEEPMARKS 0x0200 // ":keepmarks" | 640 #define CMOD_KEEPMARKS 0x0200 // ":keepmarks" |
641 #define CMOD_KEEPJUMPS 0x0400 // ":keepjumps" | 641 #define CMOD_KEEPJUMPS 0x0400 // ":keepjumps" |
642 #define CMOD_LOCKMARKS 0x0800 // ":lockmarks" | 642 #define CMOD_LOCKMARKS 0x0800 // ":lockmarks" |
643 #define CMOD_KEEPPATTERNS 0x1000 // ":keeppatterns" | 643 #define CMOD_KEEPPATTERNS 0x1000 // ":keeppatterns" |
644 #define CMOD_NOSWAPFILE 0x2000 // ":noswapfile" | 644 #define CMOD_NOSWAPFILE 0x2000 // ":noswapfile" |
645 #define CMOD_VIM9CMD 0x4000 // ":vim9cmd" | |
645 | 646 |
646 int cmod_split; // flags for win_split() | 647 int cmod_split; // flags for win_split() |
647 int cmod_tab; // > 0 when ":tab" was used | 648 int cmod_tab; // > 0 when ":tab" was used |
648 regmatch_T cmod_filter_regmatch; // set by :filter /pat/ | 649 regmatch_T cmod_filter_regmatch; // set by :filter /pat/ |
649 int cmod_filter_force; // set for :filter! | 650 int cmod_filter_force; // set for :filter! |