Mercurial > vim
view src/proto/os_vms.pro @ 28181:2961a18f9cbf v8.2.4616
patch 8.2.4616: Vim9: Declarations in a {} block of a user command remain
Commit: https://github.com/vim/vim/commit/98b7fe725ec342d28d7c86293098b233c57c4af9
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 23 21:36:27 2022 +0000
patch 8.2.4616: Vim9: Declarations in a {} block of a user command remain
Problem: Vim9: Declarations in a {} block of a user command do not use Vim9
rules if defined in a legacy script. (Yegappan Lakshmanan)
Solution: Pretend the script is Vim9 script.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Mar 2022 22:45:06 +0100 |
parents | d4b2a8675b78 |
children |
line wrap: on
line source
/* os_vms.c */ void mch_settmode(tmode_T tmode); int mch_get_shellsize(void); void mch_set_shellsize(void); char_u *mch_getenv(char_u *lognam); int mch_setenv(char *var, char *value, int x); int vms_sys(char *cmd, char *out, char *inp); char *vms_tolower(char *name); int vms_sys_status(int status); int vms_read(char *inbuf, size_t nbytes); int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, int flags); int mch_expandpath(garray_T *gap, char_u *path, int flags); void *vms_fixfilename(void *instring); void vms_remove_version(void *fname); int RealWaitForChar(int fd, long msec, int *check_for_gpm, int *interrupted); /* vim: set ft=c : */