Mercurial > vim
comparison src/scriptfile.c @ 22703:f2bfee4ac356 v8.2.1900
patch 8.2.1900: Vim9: command modifiers do not work
Commit: https://github.com/vim/vim/commit/02194d2bd54eacd0b7b9a017a3fe1702ecb80971
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 24 23:08:38 2020 +0200
patch 8.2.1900: Vim9: command modifiers do not work
Problem: Vim9: command modifiers do not work.
Solution: Make most command modifiers work.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Oct 2020 23:15:04 +0200 |
parents | e82579016863 |
children | 52e64d340a98 |
comparison
equal
deleted
inserted
replaced
22702:81d7d3860786 | 22703:f2bfee4ac356 |
---|---|
1007 { | 1007 { |
1008 char_u buf[500]; | 1008 char_u buf[500]; |
1009 int multi_mods = 0; | 1009 int multi_mods = 0; |
1010 | 1010 |
1011 buf[0] = NUL; | 1011 buf[0] = NUL; |
1012 (void)add_win_cmd_modifers(buf, &multi_mods); | 1012 (void)add_win_cmd_modifers(buf, &cmdmod, &multi_mods); |
1013 | 1013 |
1014 vim_setenv((char_u *)"OPTWIN_CMD", buf); | 1014 vim_setenv((char_u *)"OPTWIN_CMD", buf); |
1015 cmd_source((char_u *)SYS_OPTWIN_FILE, NULL); | 1015 cmd_source((char_u *)SYS_OPTWIN_FILE, NULL); |
1016 } | 1016 } |
1017 #endif | 1017 #endif |