Mercurial > vim
comparison src/vim.h @ 17588:1348696d07cd v8.1.1791
patch 8.1.1791: 'completeslash' also applies to globpath()
commit https://github.com/vim/vim/commit/50f91d22bd81819d5d946f6c38252c7922120ec6
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 2 19:52:15 2019 +0200
patch 8.1.1791: 'completeslash' also applies to globpath()
Problem: 'completeslash' also applies to globpath().
Solution: Add the WILD_IGNORE_COMPLETESLASH flag. (test by Yasuhiro
Matsumoto, closes #4760)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 02 Aug 2019 20:00:07 +0200 |
parents | d5e5d0fc3fa8 |
children | 892b4ea3bad6 |
comparison
equal
deleted
inserted
replaced
17587:f4d6636bc399 | 17588:1348696d07cd |
---|---|
783 #define WILD_PREV 5 | 783 #define WILD_PREV 5 |
784 #define WILD_ALL 6 | 784 #define WILD_ALL 6 |
785 #define WILD_LONGEST 7 | 785 #define WILD_LONGEST 7 |
786 #define WILD_ALL_KEEP 8 | 786 #define WILD_ALL_KEEP 8 |
787 | 787 |
788 #define WILD_LIST_NOTFOUND 0x01 | 788 #define WILD_LIST_NOTFOUND 0x01 |
789 #define WILD_HOME_REPLACE 0x02 | 789 #define WILD_HOME_REPLACE 0x02 |
790 #define WILD_USE_NL 0x04 | 790 #define WILD_USE_NL 0x04 |
791 #define WILD_NO_BEEP 0x08 | 791 #define WILD_NO_BEEP 0x08 |
792 #define WILD_ADD_SLASH 0x10 | 792 #define WILD_ADD_SLASH 0x10 |
793 #define WILD_KEEP_ALL 0x20 | 793 #define WILD_KEEP_ALL 0x20 |
794 #define WILD_SILENT 0x40 | 794 #define WILD_SILENT 0x40 |
795 #define WILD_ESCAPE 0x80 | 795 #define WILD_ESCAPE 0x80 |
796 #define WILD_ICASE 0x100 | 796 #define WILD_ICASE 0x100 |
797 #define WILD_ALLLINKS 0x200 | 797 #define WILD_ALLLINKS 0x200 |
798 #define WILD_IGNORE_COMPLETESLASH 0x400 | |
798 | 799 |
799 // Flags for expand_wildcards() | 800 // Flags for expand_wildcards() |
800 #define EW_DIR 0x01 // include directory names | 801 #define EW_DIR 0x01 // include directory names |
801 #define EW_FILE 0x02 // include file names | 802 #define EW_FILE 0x02 // include file names |
802 #define EW_NOTFOUND 0x04 // include not found names | 803 #define EW_NOTFOUND 0x04 // include not found names |