Home
last modified time | relevance | path

Searched refs:execute (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/vim-8.2.3635/src/testdir/
H A Dtest_execute_func.vim1 " test execute()
8 let nested = execute('echo "nested\nlines"')
22 call assert_equal("", execute(123))
27 let evaled = execute('echo "that"')
52 call assert_equal("\n0\n1\n2\n3", execute(l))
54 call assert_equal("", execute([]))
60 let x = execute('silent echo 234343')
72 let x = execute('echon 234', '')
115 let otherdir = execute('pwd')
117 call assert_equal(otherdir, execute('pwd'))
[all …]
H A Dtest_autochdir.vim33 call assert_match('\[global\].*testdir$', execute('verbose pwd'))
38 call assert_match('\[window\].*testdir[/\\]Xautodir', execute('verbose pwd'))
42 call assert_match('\[autochdir\].*testdir$', execute('verbose pwd'))
43 execute 'lcd' cwd
44 call assert_match('\[window\].*testdir$', execute('verbose pwd'))
45 execute 'tcd' cwd
46 call assert_match('\[tabpage\].*testdir$', execute('verbose pwd'))
47 execute 'cd' cwd
48 call assert_match('\[global\].*testdir$', execute('verbose pwd'))
50 call assert_match('\[autochdir\].*testdir$', execute('verbose pwd'))
[all …]
H A Dtest_ex_z.vim6 let a = execute('20z3')
14 let a = execute('20z')
18 let a = execute('20z+3')
25 let a = execute('20z-3')
29 let a = execute('20z=3')
33 let a = execute('20z^3')
37 let a = execute('20z.3')
41 let a = execute('20z#3')
69 let a = execute('20z')
74 let a = execute('20z')
[all …]
H A Dtest_filter_cmd.vim14 call assert_equal("\nfoo2\nfoo4", execute('filter /foo[24]/ 1,$print'))
16 call assert_equal("\nfoo2$\nfoo4$", execute('filter /foo[24]/ 1,$list'))
24 let lines = split(execute('filter XTry command'), "\n")
35 let lines = split(execute('filter the map f'), "\n")
109 let res = split(execute("filter /^test_filter/ let"), "\n")
128 let res = split(execute("filter /\\.c$/ llist"), "\n")
131 let res = split(execute("filter /\\.Test$/ llist"), "\n")
138 let res = split(execute("filter /\.c$/ jumps"), "\n")[1:]
146 let res = split(execute("filter /\.c$/ marks"), "\n")[1:]
151 let res = split(execute("filter /MyHlGroup/ highlight"), "\n")
[all …]
H A Dtest_syntax.vim111 let a = execute('syntime report')
114 let a = execute('syntime clear')
120 let a = execute('syntime report')
127 let a = execute('syntime report')
136 let a = execute('syntime report')
151 let a = execute('syntax list')
157 let a = execute('syntax list')
161 let a = execute('syntax list cDefine')
170 let a = execute('syntax list')
249 let a = execute('hi Foo')
[all …]
H A Dtest_cscope.vim43 let a = execute(cmd)
60 let a = execute(cmd)
67 let a = execute(cmd)
74 let a = execute(cmd)
82 let a = execute(cmd)
105 let a = execute(cmd)
113 let a = execute(cmd)
133 let a = execute(cmd)
158 let a = execute(cmd)
205 let a = execute('tags')
[all …]
H A Dtest_vim9_disassemble.vim106 var res = execute('disass s:EditExpand')
197 var res = execute('disass s:RedirVar')
222 var res = execute('disass s:Cexpr')
256 var res = execute('disass s:PutExpr')
270 var res = execute('disass s:PutRange')
768 var res = execute('disass g:Append')
778 res = execute('disass g:Get')
1971 execute 'help vim9.txt'
1973 execute cmd
1975 execute 'help ' .. tag
[all …]
H A Dtest_spellfile.vim22 let a=execute('unsilent :norm! ]s')
61 let a=execute('unsilent :norm! V$zg')
70 let a=execute('unsilent norm! V$zw')
76 let a=execute('unsilent norm! V$zG')
83 let a=execute('unsilent norm! V$zW')
97 let a=execute('unsilent norm! $zG')
103 let a=execute('unsilent norm! $zuG')
120 let a=execute('unsilent norm! $zg')
123 let a=execute('unsilent norm! $zug')
136 let a=execute('unsilent norm! Vzw')
[all …]
H A Dtest_ex_equal.vim7 let a = execute('=')
10 let a = execute('=#')
13 let a = execute('=l')
16 let a = execute('=p')
19 let a = execute('=l#')
22 let a = execute('=p#')
25 let a = execute('.=')
H A Dtest_search_stat.vim51 let g:a = execute(':unsilent :norm! n')
63 let g:a = execute(':unsilent :norm! n')
74 let g:a = execute(':unsilent :norm! n')
89 let g:a = execute(':unsilent :norm! n')
102 let g:a = execute(':unsilent :norm! n')
117 let g:a = execute(':unsilent :norm! n')
121 let g:a = execute(':unsilent :norm! N')
212 let g:a = execute(':unsilent :norm n')
223 let g:a = execute(':norm! n')
233 let g:a = execute(':unsilent :norm n')
[all …]
H A Dtest_exec_while_if.vim1 " Test for :execute, :while, :for and :if
10 execute "normal o" . i . "\047"
12 execute "normal o" . i . "\033"
25 execute "normal" j . "a" . j . "\x27"
27 execute "normal" j . "a" . j . "\x1b"
35 execute "normal Az\047"
37 execute "normal Az\033"
H A Dtest_expand_dllpath.vim5 execute 'let dllpath_save = &' . a:optname
7 execute 'set ' . a:optname . '=$TEST_EXPAND_DLLPATH'
8 execute 'call assert_equal("' . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')'
10 execute 'set ' . a:optname . '=~' . $TEST_EXPAND_DLLPATH
12 execute 'call assert_equal("' . home . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')'
14 execute 'let &' . a:optname . ' = dllpath_save'
21 execute join([
H A Dtest_usercommands.vim392 return execute('echo "hi"')[1:]
468 \ execute('command DoCmd'))
474 \ execute('command DoCmd'))
482 \ execute('command DoCmd'))
486 \ execute('command DoCmd'))
492 \ execute('command DoCmd'))
496 \ execute('command DoCmd'))
500 \ execute('command DoCmd'))
504 \ execute('command DoCmd'))
508 \ execute('command DoCmd'))
[all …]
H A Dtest_messages.vim69 call assert_equal("\nhello", execute(':echomsg "hello"'))
70 call assert_equal("\n", execute(':echomsg ""'))
71 call assert_equal("\n12345", execute(':echomsg 12345'))
72 call assert_equal("\n[]", execute(':echomsg []'))
73 call assert_equal("\n[1, 2, 3]", execute(':echomsg [1, 2, 3]'))
75 call assert_equal("\n{}", execute(':echomsg {}'))
78 call assert_equal("\n1.23", execute(':echomsg 1.23'))
80 call assert_match("function('<lambda>\\d*')", execute(':echomsg {-> 1234}'))
85 call assert_equal("\nIgNoRe hello", execute(':echoerr "IgNoRe hello"'))
86 call assert_equal("\n12345 IgNoRe", execute(':echoerr 12345 "IgNoRe"'))
[all …]
H A Dtest_let.vim12 let out = execute('let a b')
16 let out = execute('let {0 == 1 ? "a" : "b"}')
20 let out = execute('let {0 == 1 ? "a" : "b"} a')
24 let out = execute('let a {0 == 1 ? "a" : "b"}')
30 let out = execute('let s')
36 let out = execute('let l')
42 let out = execute('let d')
48 let out = execute('let F')
83 call assert_match("v:errors []", execute('let v:'))
242 call assert_match('t_te.*^[[yes;', execute("set termcap"))
[all …]
H A Dtest_history.vim33 let a=execute('history ' . a:hist)
35 let a=execute('history all')
39 let a=execute('history ' . a:hist . ' 2')
41 let a=execute('history ' . a:hist . ' 3')
43 let a=execute('history ' . a:hist . ' 4')
45 let a=execute('history ' . a:hist . ' 3,4')
47 let a=execute('history ' . a:hist . ' -1')
49 let a=execute('history ' . a:hist . ' -2')
53 let a=execute('history ' . a:hist . ' -3')
104 let a = execute('history : -1')
[all …]
H A Dtest_user_func.vim162 \ execute('func Args2'))
225 call assert_notmatch('W22:', split(execute('1messages'), "\n")[0])
230 call assert_match('W22:', split(execute('1messages'), "\n")[0])
279 execute "func F3()\n\n\n\nreturn\nendfunc"
281 execute "func F4()\n
289 execute "func F5()\n\n\n\nreturn\nendfunc"
291 execute "func F6()\n
479 \ .. "\n endfunction$", execute('func mydict.somefunc'))
491 call assert_equal("\n3\n3", execute('call FuncRange()'))
492 call assert_equal("\n4\n6", execute('4,6 call FuncRange()'))
[all …]
H A Dtest_excmd.vim39 let ls = split(execute('buffers t', 'silent!'), '\n')
541 let l = execute("4verbose set verbose | set verbose")
549 call assert_equal(['^Ibar$'], split(execute('dl'), "\n"))
551 call assert_equal(['^Ibar$'], split(execute('dell'), "\n"))
553 call assert_equal(['^Ibar$'], split(execute('delel'), "\n"))
555 call assert_equal(['^Ibar$'], split(execute('deletl'), "\n"))
557 call assert_equal(['^Ibar$'], split(execute('deletel'), "\n"))
559 call assert_equal([' bar'], split(execute('dp'), "\n"))
561 call assert_equal([' bar'], split(execute('dep'), "\n"))
563 call assert_equal([' bar'], split(execute('delp'), "\n"))
[all …]
/vim-8.2.3635/runtime/ftplugin/
H A Dpython.vim59execute "nnoremap <silent> <buffer> ]] :call <SID>Python_jump('n', '". b:next_toplevel."', 'W', v:…
63execute "nnoremap <silent> <buffer> ]m :call <SID>Python_jump('n', '". b:next."', 'W', v:count1)<c…
64execute "nnoremap <silent> <buffer> [m :call <SID>Python_jump('n', '". b:prev."', 'Wb', v:count1)<…
65execute "nnoremap <silent> <buffer> ]M :call <SID>Python_jump('n', '". b:next_end."', 'W', v:count…
66execute "nnoremap <silent> <buffer> [M :call <SID>Python_jump('n', '". b:prev_end."', 'Wb', v:coun…
72execute "onoremap <silent> <buffer> ]m :call <SID>Python_jump('o', '". b:next."', 'W', v:count1)<c…
73execute "onoremap <silent> <buffer> [m :call <SID>Python_jump('o', '". b:prev."', 'Wb', v:count1)<…
74execute "onoremap <silent> <buffer> ]M :call <SID>Python_jump('o', '". b:next_end."', 'W', v:count…
81execute "xnoremap <silent> <buffer> ]m :call <SID>Python_jump('x', '". b:next."', 'W', v:count1)<c…
82execute "xnoremap <silent> <buffer> [m :call <SID>Python_jump('x', '". b:prev."', 'Wb', v:count1)<…
[all …]
H A Deiffel.vim88 \ "| silent! execute 'unmap <buffer> [[' | silent! execute 'unmap <buffer> ]]'" .
89 \ "| silent! execute 'unmap <buffer> [m' | silent! execute 'unmap <buffer> ]m'" .
90 \ "| silent! execute 'unmap <buffer> [-' | silent! execute 'unmap <buffer> ]-'"
/vim-8.2.3635/runtime/autoload/
H A Dcontext.vim12 execute 'echohl' a:mode
120 execute '!' . context#command() . ' ' . shellescape(fnamemodify(a:path, ":t"))
136 execute 'setl efm=' . escape(b:context_errorformat, ' ')
138 execute 'lcd' fnameescape(fnamemodify(a:path, ':h'))
140 execute 'setl efm=' . escape(l:efm, ' ')
144 execute 'cgetfile' fnameescape(fnamemodify(a:path, ':r') . '.log')
147 execute s:win_id2win(l:winid) . 'wincmd w'
148 execute 'lcd ' . fnameescape(l:cwd)
149 execute 'setl efm=' . escape(l:efm, ' ')
172 execute 'lcd' fnameescape(fnamemodify(l:path, ":h"))
[all …]
/vim-8.2.3635/runtime/syntax/
H A Drst.vim60 execute 'syn region rstComment contained' .
65 execute 'syn region rstFootnote contained matchgroup=rstDirective' .
70 execute 'syn region rstCitation contained matchgroup=rstDirective' .
89 execute 'syn match rstSubstitutionDefinition contained' .
102 execute 'syn region rst' . a:name .
109 execute 'hi def link rstEscape'.a:name.' Special'
128 execute 'syn match rst' . a:name .
133 execute 'hi def link rst' . a:name . 'Delimiter' . ' rst' . a:name
163 execute 'syn match rstFootnoteReference contains=@NoSpell' .
166 execute 'syn match rstCitationReference contains=@NoSpell' .
[all …]
H A Dyaml.vim96 execute 'syn region yamlDirective oneline start='.string('^\ze%'.s:ns_directive_name.'\s\+').' '.
104 execute 'syn match yamlTagHandle contained nextgroup=yamlTagPrefix '.string(s:c_tag_handle.'\s\+')
105 execute 'syn match yamlTagPrefix contained nextgroup=yamlComment ' . string(s:ns_tag_prefix)
110 execute 'syn match yamlReservedDirective contained nextgroup=yamlComment '.
134 execute 'syn match yamlPlainScalar /'.s:ns_plain_out.'/'
135 execute 'syn match yamlPlainScalar contained /'.s:ns_plain_in.'/'
140 execute 'syn match yamlFlowMappingKey /\%#=1'.s:ns_plain_in.'\%(\s\+'.s:ns_plain_in.'\)*\ze\s*:/ co…
146 execute 'syn match yamlBlockMappingKey /\%#=1^\s*\zs'.s:ns_plain_out.'\%(\s\+'.s:ns_plain_out.'\)*\…
182 execute 'syn match yamlNodeTag '.string(s:c_ns_tag_property)
183 execute 'syn match yamlAnchor '.string(s:c_ns_anchor_property)
[all …]
H A Dhostconf.vim68 execute 'syn keyword' group 'contained' order 'nextgroup=' . nextgroup_delimiter 'skipwhite'
69execute 'syn match' nextgroup_delimiter 'contained display "," nextgroup=' . nextgroup 'skipwhite'
71 execute 'hi def link' group 'hostconfLookupOrder'
73 execute 'hi def link' nextgroup_delimiter 'hostconfLookupOrderDelimiter'
78 execute 'syn keyword hostconfLookupOrder' . context 'contained' order_of_orders[-1]
79 execute 'hi def link hostconfLookupOrder' . context 'hostconfLookupOrder'
/vim-8.2.3635/runtime/plugin/
H A Drrhelper.vim35 execute "augroup ".uniqueGroup
36execute "autocmd ".uniqueGroup." BufUnload ". f ." call DoRemoteReply('".id."', '".cnt."', '".uni…
44 execute 'autocmd! '.a:group.' BufUnload '.a:file
45 execute 'augroup! '.a:group

12345678910>>...14