comparison src/structs.h @ 17543:77c3f6428b6c v8.1.1769

patch 8.1.1769: 'shellslash' is also used for completion commit https://github.com/vim/vim/commit/ac3150d385e6e3f3fe76642aac3cda954d30583f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 28 16:36:39 2019 +0200 patch 8.1.1769: 'shellslash' is also used for completion Problem: 'shellslash' is also used for completion. Solution: Add the 'completeslash' option. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/3612)
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Jul 2019 16:45:05 +0200
parents 8bcece78339b
children 97a750e8707f
comparison
equal deleted inserted replaced
17542:8ff04f492f46 17543:77c3f6428b6c
1196 #define HI_KEY_REMOVED &hash_removed 1196 #define HI_KEY_REMOVED &hash_removed
1197 #define HASHITEM_EMPTY(hi) ((hi)->hi_key == NULL || (hi)->hi_key == &hash_removed) 1197 #define HASHITEM_EMPTY(hi) ((hi)->hi_key == NULL || (hi)->hi_key == &hash_removed)
1198 1198
1199 // Initial size for a hashtable. Our items are relatively small and growing 1199 // Initial size for a hashtable. Our items are relatively small and growing
1200 // is expensive, thus use 16 as a start. Must be a power of 2. 1200 // is expensive, thus use 16 as a start. Must be a power of 2.
1201 // This allows for storing 10 items (2/3 of 16) before a resize is needed.
1201 #define HT_INIT_SIZE 16 1202 #define HT_INIT_SIZE 16
1202 1203
1203 typedef struct hashtable_S 1204 typedef struct hashtable_S
1204 { 1205 {
1205 long_u ht_mask; // mask used for hash value (nr of items in 1206 long_u ht_mask; // mask used for hash value (nr of items in
2392 #ifdef FEAT_FOLDING 2393 #ifdef FEAT_FOLDING
2393 char_u *b_p_cms; // 'commentstring' 2394 char_u *b_p_cms; // 'commentstring'
2394 #endif 2395 #endif
2395 #ifdef FEAT_INS_EXPAND 2396 #ifdef FEAT_INS_EXPAND
2396 char_u *b_p_cpt; // 'complete' 2397 char_u *b_p_cpt; // 'complete'
2398 #endif
2399 #ifdef BACKSLASH_IN_FILENAME
2400 char_u *b_p_csl; // 'completeslash'
2397 #endif 2401 #endif
2398 #ifdef FEAT_COMPL_FUNC 2402 #ifdef FEAT_COMPL_FUNC
2399 char_u *b_p_cfu; // 'completefunc' 2403 char_u *b_p_cfu; // 'completefunc'
2400 char_u *b_p_ofu; // 'omnifunc' 2404 char_u *b_p_ofu; // 'omnifunc'
2401 #endif 2405 #endif