Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 85) sorted by relevance

1234

/vim-8.2.3635/runtime/indent/
H A Djavascript.vim296 " returns total offset from braceless contexts. 'num' is the lineNr which
300 let [l:num, b_l] = [b:js_cache[1] + !b:js_cache[1], 0]
303 while line('.') > l:num && ind > pind || line('.') == l:num
413 let [b:js_cache[0], num] = [v:lnum, b:js_cache[1]]
416 if !num || s:LookingAt() == '{' && s:IsBlock()
419 if ilnum == num
420 let [num, num_ind] = [line('.'), indent('.')]
439 elseif num && sol =~# '^\%(in\%(stanceof\)\=\|\*\)$' &&
455 if search('\m\S','W',num)
468 elseif num && &cino =~# 'm' && !s:ParseCino('m')
[all …]
H A Dcobol.vim108 let num = matchstr(line,'^\s*\zs\d\+\>')
109 if 0+cnum == num
111 elseif 0+cnum > num && default < lindent + shiftwidth()
/vim-8.2.3635/runtime/syntax/
H A Dprogress.vim76 …tch] no-return-val[ue] no-undo no-val[idate] no-wait not now null num-ali[ases] num-dbs num-entries
78 syn keyword ProgressReserved os-rename otherwise output overlay page page-bot[tom] page-num[ber] pa…
81 syn keyword ProgressReserved rcode-info[rmation] read-available read-exact-num readkey recid record…
150 syn keyword ProgressOperator child-buffer child-num choose class class-type clear-appl-context clea…
220 … ProgressOperator num-buffers num-but[tons] num-child-relations num-children num-col[umns] num-cop…
221 …rogressOperator num-header-entries num-items num-iterations num-lines num-locked-col[umns] num-log…
222 …rd ProgressOperator num-relations num-repl[aced] num-results num-selected-rows num-selected[-widge…
223 syn keyword ProgressOperator num-top-buffers num-visible-col[umns] numeric numeric-dec[imal-point] …
258 syn keyword ProgressOperator table-list table-num[ber] target temp-dir[ectory] temp-table temp-tabl…
H A Dhelp.vim80 syn match helpSpecial "\[num]"
81 syn match helpSpecial "\[+num]"
82 syn match helpSpecial "\[-num]"
H A Dnasm.vim168 …s=e-7 start="^\s*%if\(idni\|n\(ctx\|def\|idn\|num\|str\)\)\>"hs=e-6 start="^\s*%if\(ctx\|def\|idn\…
210 …dni\>"hs=e-7 start="^\s*%if\(idni\|n\(def\|idn\|num\|str\)\)\>"hs=e-6 start="^\s*%if\(def\|idn\|ni…
213 syn match nasmInPreCondit contained "^\s*%elif\(def\|idn\|nid\|num\|str\)\>"hs=e-7
214 syn match nasmInPreCondit contained "^\s*%elif\(n\(def\|idn\|num\|str\)\|idni\)\>"hs=e-8
/vim-8.2.3635/src/
H A Dcmdhist.c371 calc_hist_idx(int histype, int num) in calc_hist_idx() argument
378 || (i = hisidx[histype]) < 0 || num == 0) in calc_hist_idx()
382 if (num > 0) in calc_hist_idx()
384 while (hist[i].hisnum > num) in calc_hist_idx()
392 if (i >= 0 && hist[i].hisnum == num && hist[i].hisstr != NULL) in calc_hist_idx()
395 else if (-num <= hislen) in calc_hist_idx()
397 i += num + 1; in calc_hist_idx()
H A Dgui_xmdlg.c108 int num; // number of font names member
124 if (data->num < 0) in fn()
126 if (i >= data->num) in fn()
127 i = data->num - 1; in fn()
385 for (i = 0; i < data->num && i < MAX_ENTRIES_IN_LIST; i++) in fill_lists()
557 for (i = 0; do_sel && (i < data->num); i++) in stoggle_callback()
666 for (i = 0; i < data->num; i++) in do_choice()
782 data->num = 0; in cancel_callback()
838 data->num = 0; in ok_callback()
873 MAX_FONTS, &data->num); in gui_xm_select_font()
[all …]
H A Dif_cscope.c388 cs_connection(int num, char_u *dbpath, char_u *ppath) in cs_connection() argument
392 if (num < 0 || num > 4 || (num > 0 && !dbpath)) in cs_connection()
400 if (num == 0) in cs_connection()
403 switch (num) in cs_connection()
1912 int i, idx, num; in cs_print_tags_priv() local
1947 num = 1; in cs_print_tags_priv()
1987 (void)sprintf(buf, csfmt_str, num, lno); in cs_print_tags_priv()
2041 num++; in cs_print_tags_priv()
2460 int num = 0; in f_cscope_connection() local
2476 num = (int)tv_get_number(&argvars[0]); in f_cscope_connection()
[all …]
H A Dif_ruby.c1373 buffer_s_aref(VALUE self UNUSED, VALUE num) in buffer_s_aref() argument
1376 int n = NUM2INT(num); in buffer_s_aref()
1426 buffer_aref(VALUE self, VALUE num) in buffer_aref() argument
1431 return get_buffer_line(buf, (linenr_T)NUM2LONG(num)); in buffer_aref()
1469 buffer_aset(VALUE self, VALUE num, VALUE str) in buffer_aset() argument
1479 buffer_delete(VALUE self, VALUE num) in buffer_delete() argument
1482 long n = NUM2LONG(num); in buffer_delete()
1515 buffer_append(VALUE self, VALUE num, VALUE str) in buffer_append() argument
1519 long n = NUM2LONG(num); in buffer_append()
1661 window_s_aref(VALUE self UNUSED, VALUE num) in window_s_aref() argument
[all …]
H A Dbuffer.c4122 long num; in build_stl_str_hl() local
4489 num = -1; in build_stl_str_hl()
4662 num = 0; in build_stl_str_hl()
4686 num = byteval; in build_stl_str_hl()
4687 if (num == NL) in build_stl_str_hl()
4688 num = 0; in build_stl_str_hl()
4690 num = NL; in build_stl_str_hl()
4837 else if (num >= 0) in build_stl_str_hl()
4867 num /= nbase; in build_stl_str_hl()
4873 0, num, n); in build_stl_str_hl()
[all …]
H A Dregister.c2273 get_register_name(int num) in get_register_name() argument
2275 if (num == -1) in get_register_name()
2277 else if (num < 10) in get_register_name()
2278 return num + '0'; in get_register_name()
2282 else if (num == STAR_REGISTER) in get_register_name()
2284 else if (num == PLUS_REGISTER) in get_register_name()
2293 i = 'a' + (num - 10); in get_register_name()
2300 return num + 'a' - 10; in get_register_name()
2829 int num = atoi((char *)str); in write_reg_contents_ex() local
2831 buf = buflist_findnr(num); in write_reg_contents_ex()
[all …]
H A Dif_mzsch.c737 # define GUARANTEED_STRING_ARG(proc, num) GUARANTEE_STRING(proc, num) argument
742 if (SCHEME_BYTE_STRINGP(argv[num])) in guaranteed_byte_string_arg()
744 return argv[num]; in guaranteed_byte_string_arg()
746 else if (SCHEME_CHAR_STRINGP(argv[num])) in guaranteed_byte_string_arg()
750 MZ_GC_VAR_IN_REG(0, argv[num]); in guaranteed_byte_string_arg()
753 tmp = scheme_char_string_to_byte_string(argv[num]); in guaranteed_byte_string_arg()
758 scheme_wrong_type(proc, "string", num, argc, argv); in guaranteed_byte_string_arg()
762 # define GUARANTEED_STRING_ARG(proc, num) guaranteed_byte_string_arg(proc, num, argc, argv) argument
2127 int num = 0; in mzscheme_open_buffer() local
2145 if (num == 0) in mzscheme_open_buffer()
[all …]
H A Dex_cmds.c304 } num; member
337 if (l1.st_u.num.is_number != l2.st_u.num.is_number) in sort_compare()
338 result = l1.st_u.num.is_number - l2.st_u.num.is_number; in sort_compare()
340 result = l1.st_u.num.value == l2.st_u.num.value ? 0 in sort_compare()
341 : l1.st_u.num.value > l2.st_u.num.value ? 1 : -1; in sort_compare()
556 nrs[lnum - eap->line1].st_u.num.is_number = FALSE; in ex_sort()
557 nrs[lnum - eap->line1].st_u.num.value = 0; in ex_sort()
561 nrs[lnum - eap->line1].st_u.num.is_number = TRUE; in ex_sort()
563 &nrs[lnum - eap->line1].st_u.num.value, in ex_sort()
H A Dgui_at_sb.c826 FloatInRange(float num, float small, float big) in FloatInRange() argument
828 return (num < small) ? small : ((num > big) ? big : num); in FloatInRange()
/vim-8.2.3635/src/testdir/
H A Dtest_tagfunc.vim6 for num in range(1,10)
8 \ 'cmd': '2', 'name': 'nothing'.num, 'kind': 'm',
9 \ 'filename': 'Xfile1', 'user_data': 'somedata'.num,
H A Dtest_perl.vim271 my $num = 0;
273 if ( ++$num >= 8 ) { $num = 0 }
274 VIM::DoCommand("buffer X$num");
H A Dtest_lua.vim813 call writefile(["str = 'hello'", "num = 123" ], 'Xlua_file')
818 call assert_equal(123, luaeval('num'))
820 lua str, num = nil
828 str, num = 'foo', 321.0
829 print(string.format('str=%s, num=%d', str, num))
834 call assert_equal('str=foo, num=321', msg)
836 lua str, num = nil
/vim-8.2.3635/src/libvterm/src/
H A Dstate.c762 static void set_mode(VTermState *state, int num, int val) in set_mode() argument
764 switch(num) { in set_mode()
774 DEBUG_LOG1("libvterm: Unknown mode %d\n", num); in set_mode()
779 static void set_dec_mode(VTermState *state, int num, int val) in set_dec_mode() argument
781 switch(num) { in set_dec_mode()
830 (num == 1000) ? VTERM_PROP_MOUSE_CLICK : in set_dec_mode()
831 (num == 1002) ? VTERM_PROP_MOUSE_DRAG : in set_dec_mode()
869 DEBUG_LOG1("libvterm: Unknown DEC mode %d\n", num); in set_dec_mode()
874 static void request_dec_mode(VTermState *state, int num) in request_dec_mode() argument
878 switch(num) { in request_dec_mode()
[all …]
/vim-8.2.3635/runtime/doc/
H A Dquickref.txt161 [num] [num] lines downwards, in column 1
162 +[num] [num] lines downwards, in column 1
163 -[num] [num] lines upwards, in column 1
164 e[+num] [num] characters to the right of the end of the match
165 e[-num] [num] characters to the left of the end of the match
166 s[+num] [num] characters to the right of the start of the match
167 s[-num] [num] characters to the left of the start of the match
168 b[+num] [num] identical to s[+num] above (mnemonic: begin)
169 b[-num] [num] identical to s[-num] above (mnemonic: begin)
1138 |:range| +[num] add [num] to the preceding line number
[all …]
H A Dif_ruby.txt91 num = Vim::Window.count # gets the number of windows
94 num = Vim::Buffer.count # gets the number of buffers
102 num = b.count # gets the number of lines
107 num = Vim::Buffer.current.line_number # gets the current line number
H A Dpattern.txt177 [num] [num] lines downwards, in column 1
178 +[num] [num] lines downwards, in column 1
179 -[num] [num] lines upwards, in column 1
180 e[+num] [num] characters to the right of the end of the match
181 e[-num] [num] characters to the left of the end of the match
182 s[+num] [num] characters to the right of the start of the match
183 s[-num] [num] characters to the left of the start of the match
184 b[+num] [num] identical to s[+num] above (mnemonic: begin)
185 b[-num] [num] identical to s[-num] above (mnemonic: begin)
188 If a '-' or '+' is given but [num] is omitted, a count of one will be used.
H A Dif_mzsch.txt214 (get-buff-num [buffer]) Get a buffer's number.
229 (get-buff-by-num {buffernum}) Get a buffer by its number (return #f if
239 (get-win-num [window]) Get window number.
240 (get-win-by-num {windownum}) Get window by its number.
/vim-8.2.3635/runtime/ftplugin/
H A Dcucumber.vim60 let num = 0
62 let num += 1
65 let steps += [[file,num,type,matchstr(line,step_pattern)]]
H A Docaml.vim273 " position ::= filename <SP> num <SP> num <SP> num
278 " num is a sequence of decimal digits
287 " - in a position, the filename is the name of the file, the first num
288 " is the line number, the second num is the offset of the beginning
289 " of the line, the third num is the offset of the position itself.
/vim-8.2.3635/runtime/
H A Dmenu.vim691 if s:BMCanAdd(name, num)
692 call <SID>BMFilename(name, num)
714 func s:BMCanAdd(name, num) argument
716 if isdirectory(a:name) || !buflisted(a:num)
721 let buftype = getbufvar(a:num, '&buftype')
727 return bufexists(a:num)
825 func s:BMFilename(name, num) argument
826 let munge = <SID>BMMunge(a:name, a:num)
829 let s:bmenu_items[a:num] = munge
833 let s:bmenu_items[a:num] = menu_name
[all …]

1234