| /vim-8.2.3635/src/ |
| H A D | vim9type.c | 30 type_T *type; in get_type_ptr() local 40 return type; in get_type_ptr() 65 return type; in alloc_type() 68 *ret = *type; in alloc_type() 93 if (type == NULL || (type->tt_flags & TTFLAG_STATIC)) in free_type() 108 type_T *type; in get_list_type() local 131 return type; in get_list_type() 137 type_T *type; in get_dict_type() local 160 return type; in get_dict_type() 177 return type; in alloc_func_type() [all …]
|
| H A D | viminfo.c | 60 if (*p == type) in find_viminfo_parameter() 508 for (type = 0; type < HIST_COUNT; ++type) in prepare_viminfo_history() 545 if (viminfo_hisidx[type] < viminfo_hislen[type]) in read_viminfo_history() 552 if (!in_history(type, val + (type == HIST_SEARCH), in read_viminfo_history() 614 if (viminfo_hisidx[type] < viminfo_hislen[type]) in handle_viminfo_history() 800 for (type = 0; type < HIST_COUNT; ++type) in finish_viminfo_history() 834 for (type = 0; type < HIST_COUNT; ++type) in write_viminfo_history() 1245 if (type == VAR_STRING || type == VAR_DICT in read_viminfo_varlist() 1246 || type == VAR_LIST || type == VAR_BLOB) in read_viminfo_varlist() 1260 if (type == VAR_DICT || type == VAR_LIST) in read_viminfo_varlist() [all …]
|
| H A D | cmdhist.c | 126 int type; in init_history() local 132 for (type = 0; type < HIST_COUNT; ++type) // adjust the tables in init_history() 147 type = -1; in init_history() 172 j = hisidx[type]; in init_history() 181 if (j == hisidx[type]) in init_history() 187 history[type] = temp; in init_history() 209 int type, in in_history() argument 221 i = hisidx[type]; in in_history() 250 history[type][last_i] = history[type][i]; in in_history() 253 history[type][i].hisnum = ++hisnum[type]; in in_history() [all …]
|
| H A D | os_qnx.c | 79 case 'L': type = MLINE; break; in clip_mch_request_selection() 80 case 'C': type = MCHAR; break; in clip_mch_request_selection() 81 case 'B': type = MBLOCK; break; in clip_mch_request_selection() 94 type = MAUTO; in clip_mch_request_selection() 98 clip_yank_selection(type, clip_text, clip_length, cbd); in clip_mch_request_selection() 107 int type; in clip_mch_set_selection() local 120 type = clip_convert_selection(&str, &len, cbd); in clip_mch_set_selection() 121 if (type >= 0) in clip_mch_set_selection() 129 STRNCPY(clip_header[0].type, CLIP_TYPE_VIM, 8); in clip_mch_set_selection() 133 STRNCPY(clip_header[1].type, CLIP_TYPE_TEXT, 8); in clip_mch_set_selection() [all …]
|
| H A D | drawscreen.c | 105 type = 0; in update_screen() 142 type = NOT_VALID; in update_screen() 149 must_redraw = type; in update_screen() 174 type = CLEAR; in update_screen() 180 type = CLEAR; in update_screen() 220 type = NOT_VALID; in update_screen() 1425 int type; in win_update() local 1549 type = NOT_VALID; in win_update() 1718 if ((type == VALID || type == SOME_VALID in win_update() 1719 || type == INVERTED || type == INVERTED_ALL) in win_update() [all …]
|
| H A D | evalfunc.c | 231 || type->tt_type == VAR_FLOAT || type->tt_type == VAR_NUMBER) in arg_float_or_nr() 316 || type->tt_type == VAR_LIST || type->tt_type == VAR_BLOB) in arg_list_or_blob() 329 || type->tt_type == VAR_STRING || type->tt_type == VAR_NUMBER) in arg_string_or_nr() 342 || type->tt_type == VAR_STRING || type->tt_type == VAR_NUMBER) in arg_buffer() 370 || type->tt_type == VAR_STRING || type->tt_type == VAR_NUMBER) in arg_lnum() 382 if (type->tt_type == VAR_ANY || type->tt_type == VAR_STRING) in arg_string_or_list_string() 404 || type->tt_type == VAR_STRING || type->tt_type == VAR_LIST) in arg_string_or_list_any() 417 || type->tt_type == VAR_STRING || type->tt_type == VAR_BLOB) in arg_string_or_blob() 430 || type->tt_type == VAR_LIST || type->tt_type == VAR_DICT) in arg_list_or_dict() 6875 if (type == MATCH_LIST || type == MATCH_POS) in find_some_match() [all …]
|
| H A D | typval.c | 1158 int type_is = type == EXPR_IS || type == EXPR_ISNOT; in typval_compare() 1176 || (type != EXPR_EQUAL && type != EXPR_NEQUAL)) in typval_compare() 1203 || (type != EXPR_EQUAL && type != EXPR_NEQUAL)) in typval_compare() 1232 || (type != EXPR_EQUAL && type != EXPR_NEQUAL)) in typval_compare() 1254 if (type != EXPR_EQUAL && type != EXPR_NEQUAL in typval_compare() 1255 && type != EXPR_IS && type != EXPR_ISNOT) in typval_compare() 1282 if (type == EXPR_NEQUAL || type == EXPR_ISNOT) in typval_compare() 1290 && type != EXPR_MATCH && type != EXPR_NOMATCH) in typval_compare() 1297 switch (type) in typval_compare() 1317 && type != EXPR_MATCH && type != EXPR_NOMATCH) in typval_compare() [all …]
|
| H A D | vim9compile.c | 268 type_T **type, in arg_exists() argument 624 type_T **type; in may_generate_2STRING() local 1113 type_T *type; in bool_on_stack() local 1119 if (type == &t_any || type == &t_number || type == &t_number_bool) in bool_on_stack() 1601 type_T *type; in generate_NEWLIST() local 2106 type_T *type, in generate_PCALL() argument 2207 if (type->tt_type != VAR_DICT && type != &t_any) in generate_STRINGMEMBER() 2452 type_T *type) in reserve_local() argument 3083 type); in compile_load_scriptvar() 5946 type_T *type) in generate_loadvar() argument [all …]
|
| /vim-8.2.3635/src/testdir/ |
| H A D | test_vim9_builtin.vim | 950 …2], ["x"])'], 'E1013: Argument 2: type mismatch, expected list<number> but got list<string>', 'E10… 1147 " Test for float functions argument type 1752 …CheckDefFailure(['index(["1"], 1)'], 'E1013: Argument 2: type mismatch, expected string but got nu… 1944 …ilure2(['len(true)'], 'E1013: Argument 1: type mismatch, expected list<any> but got bool', 'E701: … 2388 # Pass variable of type 'any' to popup_atcursor() 2410 # Pass variable of type 'any' to popup_create() 2699 assert_true(type(reltime(start)) == v:t_list) 2701 assert_true(type(reltime(start, end)) == v:t_list) 2711 assert_true(type(reltimefloat(reltime())) == v:t_float) 2721 assert_true(type(reltimestr(reltime())) == v:t_string) [all …]
|
| H A D | test_textprop.vim | 80 prop_add(1, 1, {type: 'global'}) 81 prop_add(1, 1, {type: 'local'}) 94 prop_remove({type: 'global'}, 1) 95 prop_remove({type: 'local'}, 1) 389 " remove by type 494 " remove by type 900 \ 'type': 'testprop' 1351 call prop_remove({'type': 'test'}) 1354 call prop_remove({'type': 'test'}) 1362 call prop_remove({'type': 'test'}) [all …]
|
| H A D | test_stat.vim | 185 " On Mac /def/fd/2 is found but the type is "fifo" 187 let type = getftype(cdevfile) 189 if type != '' 190 call assert_equal('cdev', type, 'for ' .. cdevfile) 196 let type = getftype(bdevfile) 198 if type != '' 199 call assert_equal('bdev', type, 'for ' .. bdevfile) 206 let type = getftype(socketfile) 208 if type != '' 209 call assert_equal('socket', type, 'for ' .. socketfile) [all …]
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | textprop.txt | 43 "type" the name of a property type 141 type name of the text property type 142 All fields except "type" are optional. 151 type specifies highlighting. 174 type name of the text property type 209 type property with this type name 244 type name of the property type, omitted if 245 the type was deleted 247 0 if the type is global 270 type remove text properties with this type name [all …]
|
| H A D | vim9.txt | 1174 list<{type}> 1175 dict<{type}> 1179 func: {type} 1181 func({type}, ...): {type} 1184 tuple<a: {type}, b: {type}, ...> 1199 return type 1204 func(): {type} function with no argument and return type 1206 func({type}) function with argument type, does not return 1208 func({type}): {type} function with argument type and return type 1211 func(...{type}) function with type of variable number of [all …]
|
| H A D | usr_46.txt | 64 the return type. Vim9 functions, defined with `def`, require specifying the 65 type of arguments and the return type. That way Vim can compile the code 66 efficiently. The GetPart function defines an argument "nr" of type "number". 84 The type of the variable will be inferred from the expression. In this case 85 it is a string. If you initialize with a number, then the type is number: > 93 In the rare case you want a variable that can take values of any type, you 94 have to specify the type: > 113 Legacy Vim script does have type checking, but this happens at runtime, when 141 E1013: type mismatch, expected number but got string 150 If the function does not return anything, just leave out the return type: > [all …]
|
| /vim-8.2.3635/src/proto/ |
| H A D | drawscreen.pro | 7 void update_curbuf(int type); 10 int redraw_asap(int type); 12 void redraw_later(int type); 13 void redraw_win_later(win_T *wp, int type); 15 void redraw_all_later(int type); 16 void redraw_curbuf_later(int type); 17 void redraw_buf_later(buf_T *buf, int type); 19 void redraw_buf_and_status_later(buf_T *buf, int type);
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | markdown.vim | 22 for s:type in map(copy(g:markdown_fenced_languages),'matchstr(v:val,"[^=]*$")') 23 if has_key(s:done_include, matchstr(s:type,'[^.]*')) 26 if s:type =~ '\.' 27 let b:{matchstr(s:type,'[^.]*')}_subtype = matchstr(s:type,'\.\zs.*') 29 …exe 'syn include @markdownHighlight'.substitute(s:type,'\.','','g').' syntax/'.matchstr(s:type,'[^… 31 let s:done_include[matchstr(s:type,'[^.]*')] = 1 33 unlet! s:type 107 for s:type in g:markdown_fenced_languages 108 if has_key(s:done_include, matchstr(s:type,'[^.]*')) 112 let s:done_include[matchstr(s:type,'[^.]*')] = 1 [all …]
|
| H A D | liquid.vim | 54 for s:type in map(copy(g:liquid_highlight_types),'matchstr(v:val,"[^=]*$")') 55 if s:type =~ '\.' 56 let b:{matchstr(s:type,'[^.]*')}_subtype = matchstr(s:type,'\.\zs.*') 58 …exe 'syn include @liquidHighlight'.substitute(s:type,'\.','','g').' syntax/'.matchstr(s:type,'[^.]… 61 unlet! s:type 84 for s:type in g:liquid_highlight_types 85 exe 'syn match liquidTypeHighlight "\<'.matchstr(s:type,'[^=]*').'\>" contained' 86 …type,'[^=]*$'),'\..*','','').' start="{%\s*highlight\s\+'.matchstr(s:type,'[^=]*').'\s*%}" end="{%… 88 unlet! s:type
|
| /vim-8.2.3635/runtime/tutor/ |
| H A D | tutor.utf-8 | 104 3. Press i and type in the necessary additions. 125 2. Press A and type in the necessary additions. 174 4. To delete the character at the cursor type: x 176 5. To insert or append text type: 177 i type inserted text <ESC> insert before the cursor 333 3. Now type u to undo the last command executed. 368 To undo the undo's, type: CTRL-R 420 ** To change until the end of a word, type ce . ** 539 2. Now type the % character. 864 - type :help <ENTER> [all …]
|
| H A D | tutor | 104 3. Press i and type in the necessary additions. 125 2. Press A and type in the necessary additions. 174 4. To delete the character at the cursor type: x 176 5. To insert or append text type: 177 i type inserted text <ESC> insert before the cursor 333 3. Now type u to undo the last command executed. 368 To undo the undo's, type: CTRL-R 420 ** To change until the end of a word, type ce . ** 539 2. Now type the % character. 864 - type :help <ENTER> [all …]
|
| /vim-8.2.3635/runtime/indent/ |
| H A D | fortran.vim | 23 setlocal indentkeys+==~type,=~interface,=~forall,=~associate,=~block,=~enum 109 "where, else where, forall, type, interface and associate statements 111 \ ||prevstat=~? '^\s*\(type\|interface\|associate\|enum\)\>' 119 " Remove unwanted indent after type( statements 120 if prevstat =~? '^\s*type\s*(' 129 \.'\|character\|type\|class\)\s*\S*\s\+\)\=' 133 \ ||prevstat =~? '^\s*'.prefix.type.'function\>' 134 \ ||prevstat =~? '^\s*'.type.prefix.'function\>' 146 " end enum, end type, end block and end type statements 150 \. 'type\|forall\|associate\|enum\|block\)\)\>' [all …]
|
| H A D | ocaml.vim | 46 let s:letpat = '^\s*\(let\|type\|module\|class\|open\|exception\|val\|include\|external\)\>' 48 let s:lim = '^\s*\(exception\|external\|include\|let\|module\|open\|type\|val\)\>' 51 let s:type = '^\s*\%(class\|let\|type\)\>.*=' 133 return s:FindLet(s:type, '','\<let\s*$') 136 " Indent if current line begins with 'class' or 'type': 137 elseif line =~ '^\s*\(class\|type\)\>' 139 return s:FindLet(s:type, '','\<\(class\|type\)\s*$') 144 if lline !~ '^\s*\(|[^\]]\|\(match\|type\|with\)\>\)\|\<\(function\|parser\|private\|with\)\s*$' 175 if lline !~ '^\s*\(and\|let\|type\)\>\|\<end\s*$' 190 return indent(search('^\s*\(\(exception\|external\|include\|open\|type\)\>\|val\>.*:\)', 'bW')) [all …]
|
| /vim-8.2.3635/.github/ISSUE_TEMPLATE/ |
| H A D | bug_report.yml | 7 - type: markdown 13 - type: textarea 23 - type: textarea 29 - type: input 36 - type: input 43 - type: textarea
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | phpcomplete.vim | 1403 …let type = has_key(docblock.return, 'type') ? docblock.return.type : has_key(docblock.var, 'type')… 1405 if type == '' 1408 let type = property.type 1417 " there's a namespace in the type, threat the type as FQCN 1418 if type =~ '\\' 1595 let type = has_key(docblock.return, 'type') ? docblock.return.type : return_type_hint 1596 if type != '' 1831 let type = has_key(docblock.return, 'type') ? docblock.return.type : return_type_hint 1832 if type != '' 2465 for type in types [all …]
|
| /vim-8.2.3635/runtime/macros/hanoi/ |
| H A D | click.me | 6 type ":so hanoi.vim<RETURN>" to load the macros 7 type "g" to start it 11 to quit type ":q!<RETURN>" 12 to interrupt type CTRL-C 14 (This text will disappear as soon as you type "g")
|
| /vim-8.2.3635/src/libvterm/src/ |
| H A D | pen.c | 51 col->type = VTERM_COLOR_INDEXED; in lookup_default_colour_ansi() 119 static void setpenattr(VTermState *state, VTermAttr attr, VTermValueType type UNUSED, VTermValue *v… in setpenattr() 122 if(type != vterm_get_attr_type(attr)) { in setpenattr() 124 attr, vterm_get_attr_type(attr), type); in setpenattr() 213 col->type = VTERM_COLOR_RGB; in vterm_color_rgb() 221 col->type = VTERM_COLOR_INDEXED; in vterm_color_indexed() 228 if (a->type != b->type) { in vterm_color_is_equal() 263 state->default_fg.type = (state->default_fg.type & ~VTERM_COLOR_DEFAULT_MASK) in vterm_state_set_default_colors() 265 state->default_bg.type = (state->default_bg.type & ~VTERM_COLOR_DEFAULT_MASK) in vterm_state_set_default_colors() 283 col->type &= VTERM_COLOR_TYPE_MASK; /* Reset any metadata but the type */ in vterm_state_convert_color_to_rgb()
|