0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.0.1227: no cmdline completion for :runtime

Problem:    No cmdline completion for :runtime.
Solution:   Add completion for :runtime. (closes #11853, closes #11447)
            Improve the resulting matches.
This commit is contained in:
root
2023-01-21 21:56:06 +00:00
committed by Bram Moolenaar
parent 51b2fc2ef5
commit a6759381a5
6 changed files with 94 additions and 13 deletions

View File

@@ -811,6 +811,7 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring);
#define EXPAND_DISASSEMBLE 50
#define EXPAND_BREAKPOINT 51
#define EXPAND_SCRIPTNAMES 52
#define EXPAND_RUNTIME 53
// Values for exmode_active (0 is no exmode)
#define EXMODE_NORMAL 1
@@ -2661,6 +2662,7 @@ typedef enum {
#define DIP_NORTP 0x20 // do not use 'runtimepath'
#define DIP_NOAFTER 0x40 // skip "after" directories
#define DIP_AFTER 0x80 // only use "after" directories
#define DIP_PRNEXT 0x100 // for print also file extension
// Lowest number used for window ID. Cannot have this many windows.
#define LOWEST_WIN_ID 1000