Mercurial > vim
comparison src/structs.h @ 24531:3bfec39ce31c v8.2.2805
patch 8.2.2805: Vim9: cannot use legacy syntax in Vim9 script
Commit: https://github.com/vim/vim/commit/96cf4ba8fb96e5778192d2dab7458b9a7da0a49d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 24 14:15:41 2021 +0200
patch 8.2.2805: Vim9: cannot use legacy syntax in Vim9 script
Problem: Vim9: cannot use legacy syntax in Vim9 script.
Solution: Add the :legacy command.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Apr 2021 14:30:04 +0200 |
parents | baf75c8e1b7b |
children | a4fda40e0bb9 |
comparison
equal
deleted
inserted
replaced
24530:51e01f7c2069 | 24531:3bfec39ce31c |
---|---|
643 #define CMOD_KEEPJUMPS 0x0400 // ":keepjumps" | 643 #define CMOD_KEEPJUMPS 0x0400 // ":keepjumps" |
644 #define CMOD_LOCKMARKS 0x0800 // ":lockmarks" | 644 #define CMOD_LOCKMARKS 0x0800 // ":lockmarks" |
645 #define CMOD_KEEPPATTERNS 0x1000 // ":keeppatterns" | 645 #define CMOD_KEEPPATTERNS 0x1000 // ":keeppatterns" |
646 #define CMOD_NOSWAPFILE 0x2000 // ":noswapfile" | 646 #define CMOD_NOSWAPFILE 0x2000 // ":noswapfile" |
647 #define CMOD_VIM9CMD 0x4000 // ":vim9cmd" | 647 #define CMOD_VIM9CMD 0x4000 // ":vim9cmd" |
648 #define CMOD_LEGACY 0x8000 // ":legacy" | |
648 | 649 |
649 int cmod_split; // flags for win_split() | 650 int cmod_split; // flags for win_split() |
650 int cmod_tab; // > 0 when ":tab" was used | 651 int cmod_tab; // > 0 when ":tab" was used |
651 regmatch_T cmod_filter_regmatch; // set by :filter /pat/ | 652 regmatch_T cmod_filter_regmatch; // set by :filter /pat/ |
652 int cmod_filter_force; // set for :filter! | 653 int cmod_filter_force; // set for :filter! |