diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/path.c | 6 | ||||
-rw-r--r-- | src/nvim/ui.c | 27 | ||||
-rw-r--r-- | src/nvim/version.c | 102 |
3 files changed, 114 insertions, 21 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index 253035ed99..d689eaf8cb 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -579,9 +579,13 @@ static size_t do_path_expand(garray_T *gap, const char_u *path, s = p + 1; } else if (path_end >= path + wildoff && (vim_strchr((char_u *)"*?[{~$", *path_end) != NULL +#ifndef WIN32 || (!p_fic && (flags & EW_ICASE) - && isalpha(PTR2CHAR(path_end))))) + && isalpha(PTR2CHAR(path_end)))) +#endif + ) { e = p; + } if (has_mbyte) { len = (*mb_ptr2len)(path_end); STRNCPY(p, path_end, len); diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 786f6026de..d32969f149 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -55,14 +55,25 @@ static int height, width; // // See http://stackoverflow.com/a/11172679 for a better explanation of how it // works. -#define UI_CALL(...) \ - do { \ - flush_cursor_update(); \ - for (size_t i = 0; i < ui_count; i++) { \ - UI *ui = uis[i]; \ - UI_CALL_HELPER(CNT(__VA_ARGS__), __VA_ARGS__); \ - } \ - } while (0) +#ifdef _MSC_VER + #define UI_CALL(funname, ...) \ + do { \ + flush_cursor_update(); \ + for (size_t i = 0; i < ui_count; i++) { \ + UI *ui = uis[i]; \ + UI_CALL_MORE(funname, __VA_ARGS__); \ + } \ + } while (0) +#else + #define UI_CALL(...) \ + do { \ + flush_cursor_update(); \ + for (size_t i = 0; i < ui_count; i++) { \ + UI *ui = uis[i]; \ + UI_CALL_HELPER(CNT(__VA_ARGS__), __VA_ARGS__); \ + } \ + } while (0) +#endif #define CNT(...) SELECT_NTH(__VA_ARGS__, MORE, MORE, MORE, MORE, ZERO, ignore) #define SELECT_NTH(a1, a2, a3, a4, a5, a6, ...) a6 #define UI_CALL_HELPER(c, ...) UI_CALL_HELPER2(c, __VA_ARGS__) diff --git a/src/nvim/version.c b/src/nvim/version.c index b097ac4702..39d5b0f1b0 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -71,6 +71,84 @@ static char *features[] = { // clang-format off static int included_patches[] = { + // 1000, + // 999 NA + // 998, + // 997 NA + // 996 NA + // 995 NA + // 994 NA + // 993, + // 992 NA + // 991, + // 990 NA + // 989, + // 988 NA + // 987 NA + // 986 NA + // 985 NA + // 984, + // 983, + // 982, + // 981, + // 980, + // 979 NA + // 978, + // 977, + // 976 NA + // 975, + // 974, + // 973, + // 972, + // 971, + // 970, + // 969, + // 968, + // 967 NA + // 966 NA + // 965 NA + // 964, + // 963, + // 962 NA + // 961, + // 960 NA + // 959 NA + // 958, + // 957, + // 956, + // 955, + // 954 NA + // 953, + // 952, + // 951, + // 950, + // 949, + // 948 NA + // 947, + // 946, + // 945, + // 944, + // 943, + // 942, + // 941, + // 940 NA + // 939, + // 938 NA + // 937, + // 936, + // 935, + // 934 NA + // 933, + // 932, + // 931, + // 930 NA + // 929, + // 928 NA + // 927 NA + // 926, + // 925, + // 924 NA + // 923 NA // 922, // 921 NA // 920 NA @@ -129,8 +207,8 @@ static int included_patches[] = { // 867 NA // 866, // 865, - // 864, - // 863, + // 864 NA + // 863 NA // 862 NA // 861 NA // 860, @@ -139,7 +217,7 @@ static int included_patches[] = { // 857, // 856, // 855 NA - // 854, + // 854 NA // 853, // 852 NA // 851 NA @@ -151,8 +229,8 @@ static int included_patches[] = { // 845, // 844, // 843, - // 842, - // 841, + // 842 NA + // 841 NA // 840 NA // 839, // 838, @@ -185,7 +263,7 @@ static int included_patches[] = { // 811, // 810, 809, - // 808, + // 808 NA // 807, // 806, // 805, @@ -332,7 +410,7 @@ static int included_patches[] = { // 664 NA // 663 NA // 662, - // 661, + // 661 NA 660, 659, 658, @@ -352,7 +430,7 @@ static int included_patches[] = { // 644 NA // 643, // 642, - // 641, + // 641 NA 640, // 639, // 638 NA @@ -365,15 +443,15 @@ static int included_patches[] = { 631, 630, 629, - // 628, + // 628 NA // 627 NA // 626 NA // 625 NA - // 624, + // 624 NA 623, // 622 NA // 621 NA - // 620, + // 620 NA // 619 NA // 618 NA 617, @@ -386,7 +464,7 @@ static int included_patches[] = { // 610 NA 609, 608, - // 607, + // 607 NA 606, // 605, 604, |