| /vim-8.2.3635/src/testdir/ |
| H A D | test_partial.vim | 33 let Cb2 = function(Cb) 40 let Cb2 = function(Cb, []) 176 let F = function('MyFunc') 188 let F = function('MyFunc') 205 function! obj.func() abort 216 function d.test3() 228 function d.test4() 232 function! d.test4(name) 242 function g:d.test2() 340 function d1.f1() dict [all …]
|
| H A D | test_debugger.vim | 96 \ ' 2 function Foo[2]', 106 \ ' 2 function Foo[2]', 114 \ '->2 function Foo[2]', 154 \ ' 1 function Foo[2]', 165 \ '->1 function Foo[2]', 245 \ 'function Bazz', 255 \ 'function Bazz', 278 \ 'function Bazz', 287 \ 'function Bar', 297 \ 'function Bazz', [all …]
|
| H A D | test_user_func.vim | 2 " Also test an <expr> mapping calling a function. 3 " Also test that a builtin function cannot be replaced. 53 let g:FuncRef = function("FuncWithRef") 94 " Try to overwrite an user defined function with a function reference 192 " Test for <sfile>, <slnum> in a function 246 function Foo() 261 " Try deleting the current function 357 " Test for script-local function 429 " Test for deleting a function 453 " Test for errors in calling a function [all …]
|
| H A D | script_util.vim | 10 " MakeScript() - Make a script file from a function. {{{2 12 " Create a script that consists of the body of the function a:funcname. 15 " in the variable argument list. This function is useful if similar tests are 16 " to be made for a ":return" from a function call or a ":finish" in a script 21 execute "function" a:funcname 24 " Delete the "function" and the "endfunction" lines. Do not include the 25 " word "function" in the pattern since it might be translated if LANG is 45 " ExecAsScript - Source a temporary script made from a function. {{{2 51 function! ExecAsScript(funcname) 52 " Make a script from the function passed as argument. [all …]
|
| H A D | test_filter_map.vim | 38 call assert_equal([2, 3, 4], filter([1, 2, 3, 4], function('s:filter1'))) 43 call assert_equal([3, 4], filter([1, 2, 3, 4], function('s:filter2'))) 49 call assert_equal([2, 4, 6, 8], map([1, 2, 3, 4], function('s:filter3'))) 54 call assert_equal([0, 2, 4, 6], map([1, 2, 3, 4], function('s:filter4'))) 74 call assert_equal({"bar": 2, "baz": 3}, filter(copy(dict), function('s:filter1'))) 79 call assert_equal({"foo": 1, "baz": 3}, filter(copy(dict), function('s:filter2'))) 85 call assert_equal({"foo": 2, "bar": 4, "baz": 6}, map(copy(dict), function('s:filter3'))) 90 call assert_equal({"foo": "f", "bar": "b", "baz": "b"}, map(copy(dict), function('s:filter4'))) 106 call assert_fails("let l = filter([1, 2], function('min'))", 'E118:')
|
| /vim-8.2.3635/runtime/indent/ |
| H A D | sh.vim | 73 function! GetShIndent() 96 " function definition 201 function! s:is_array(line) 238 function! s:is_case(line) 246 function! s:is_here_doc(line) 266 function! s:escape(pattern) 270 function! s:is_empty(line) 274 function! s:end_block(line) 278 function! s:start_block(line) 290 function! s:is_comment(line) [all …]
|
| H A D | scala.vim | 33 function! scala#ConditionalConfirm(msg) 39 function! scala#GetLine(lnum) 52 function! scala#CountParens(line) 56 function! scala#CountCurlies(line) 60 function! scala#LineEndsInIncomplete(line) 68 function! scala#LineIsAClosingXML(line) 90 function! scala#IsParentCase() 102 function! scala#CurlyMatcher() 197 function! scala#LineIsCompleteIf(line) 218 function! scala#GetPrevCodeLine(lnum) [all …]
|
| H A D | javascript.vim | 45 function s:GetVars() 51 function s:sw() 55 function s:sw() 80 function s:SynAt(l,c) 110 function s:SkipFunc() 157 function s:Nat(int) 165 function s:Token() 202 function s:ExprCol() 262 function s:OneScope() 279 function s:DoWhile() [all …]
|
| H A D | ruby.vim | 46 " Only define the function once. 171 function! GetRubyIndent(...) abort 348 function! s:BlockComment(cline_info) abort 445 function! s:StartOfFile(pline_info) abort 636 function! s:PreviousNotMSL(msl_info) abort 709 function! s:IsInString(lnum, col) abort 726 function! s:IsAssignment(str, pos) abort 756 function! s:GetMSL(lnum) abort 861 function! s:ExtraBrackets(lnum) abort 923 function! s:Match(lnum, regex) abort [all …]
|
| H A D | matlab.vim | 12 setlocal indentkeys=!,o,O,e,0=end,0=elseif,0=case,0=otherwise,0=catch,0=function,0=elsei 28 " Only define the function once 36 let s:dedent_pat = '\C^\s*\zs\<\%(end\|else\|elseif\|catch\|\(case\|otherwise\|function\)\)\>' 37 let s:start_pat = '\C\<\%(function\|' . s:open_pat . '\)\>' 42 function! s:IsCommentOrString(lnum, col) 47 function! s:IsLineContinuation(lnum) 56 function! s:SubmatchCount(lnum, pattern, ...) 68 function! s:GetOpenCloseCount(lnum, pattern, ...) 73 function! GetMatlabIndent() 94 \ . (b:MATLAB_function_indent >= 1 ? 'function\|' : '')
|
| H A D | awk.vim | 24 " 29-04-2002 Fixed problems in function headers and max line width 39 " Only define the function once. 44 " This function contains a lot of exit points. It checks for simple cases 48 function! GetAwkIndent() 153 function! s:Get_brace_balance( line, b_open, b_close ) 161 " Find out whether the line starts with a word (i.e. keyword or function 164 function! s:Starts_with_word( line ) 176 function! s:First_word_len( line ) 190 function! s:Seems_continuing( line ) 208 function! s:Get_prev_line( lineno ) [all …]
|
| H A D | clojure.vim | 54 function! s:syn_id_name() 58 function! s:ignored_region() 62 function! s:current_char() 66 function! s:current_word() 70 function! s:is_paren() 76 function! s:match_one(patterns, string) 82 function! s:match_pairs(open, close, stopat) 134 function! s:check_for_string() 221 function! s:bracket_type(char) 226 function! s:clojure_indent_pos() [all …]
|
| H A D | julia.vim | 18 " Only define the function once. 26 function JuliaMatch(lnum, str, regex, st, ...) 49 function GetJuliaNestingStruct(lnum, ...) 173 function GetJuliaNestingBrackets(lnum, c) 274 function IsInBrackets(lnum, c) 280 function IsInDocString(lnum) 286 function IsInContinuationImportLine(lnum) 295 function IsFunctionArgPar(lnum, c) 303 function JumpToMatch(lnum, last_closed_bracket) 319 function LastBlockIndent(lnum) [all …]
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | context.vim | 17 function! s:sh() 26 function! s:win_getid() 30 function! s:win_id2win(winid) 36 function! s:win_getid() 40 function! s:win_id2win(winnr) 53 function! context#job_status() 64 function! context#stop_jobs() 95 function! s:typeset(path) 111 function! context#stop_jobs() 119 function! s:typeset(path) [all …]
|
| H A D | gnat.vim | 28 function gnat#Make () dict " {{{1 38 function gnat#Pretty () dict " {{{1 42 function gnat#Find () dict " {{{1 46 function gnat#Tags () dict " {{{1 98 function gnat#Set_Session (...) dict " {{{1 106 function gnat#New () " {{{1 108 \ 'Make' : function ('gnat#Make'), 109 \ 'Pretty' : function ('gnat#Pretty'), 110 \ 'Find' : function ('gnat#Find'), 111 \ 'Tags' : function ('gnat#Tags'), [all …]
|
| H A D | rust.vim | 8 function! rust#Jump(mode, function) range argument 23 function! s:Jump_Back() 28 function! s:Jump_Forward() 37 function! rust#Run(bang, args) 83 function! rust#Expand(bang, args) 152 function! rust#Emit(type, args) 221 function! s:WithPath(func, ...) 277 function! s:ShellTokenize(text) 341 function! s:RmDir(path) 355 function! s:system(pwd, cmd) [all …]
|
| H A D | decada.vim | 24 function decada#Unit_Name () dict " {{{1 32 function decada#Make () dict " {{{1 43 function decada#Set_Session (...) dict " {{{1 54 function decada#New () " }}}1 56 \ 'Make' : function ('decada#Make'), 57 \ 'Unit_Name' : function ('decada#Unit_Name'), 58 \ 'Set_Session' : function ('decada#Set_Session'),
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | vim9.txt | 67 function. 157 function was defined 159 - a function that is compiled calls the function or uses it as a function 236 When using `:function` or `:def` to specify a nested function inside a `:def` 237 function, this nested function is local to the code block it is defined in. 267 When compiling a function and a function call is encountered for a function 502 Omitting function() ~ 510 When using `function()` the resulting type is "func", a function with any 698 current function. 1214 function with: [all …]
|
| H A D | usr_41.txt | 18 |41.7| Defining a function 744 function() get a Funcref for a function name 1271 function. 1395 :function 1402 :function SetSyn 1433 :function! Right() 1436 :function! Wrong() 1450 function. 2083 function). 2148 function (without the "s:"), which is again another function. [all …]
|
| /vim-8.2.3635/runtime/ftplugin/ |
| H A D | debchangelog.vim | 46 function <SID>FullName() 57 function <SID>Email() 70 function <SID>Date() 88 function <SID>Finalised() 102 function NewVersion() 128 function AddEntry() 144 function CloseBug() 158 function Urgency(urg) 173 function Unfinalise() 191 function Finalise() [all …]
|
| H A D | changelog.vim | 50 function! s:username() 63 function! s:login() 79 function! s:first_line(string) 83 function! s:name(login) 91 function! s:gecos_name(login) 100 function! s:try_reading_file(path) 108 function! s:passwd_field(line, field) 116 function! s:capitalize(word) 120 function! s:hostname() 164 function! s:position_cursor() [all …]
|
| H A D | vb.vim | 24 nnoremap <buffer> <silent> [[ :call <SID>VbSearch('^\s*\(\(private\|public\)\s\+\)\=\(function\\|su… 25 nnoremap <buffer> <silent> ]] :call <SID>VbSearch('^\s*\(\(private\|public\)\s\+\)\=\(function\\|su… 26 nnoremap <buffer> <silent> [] :call <SID>VbSearch('^\s*\<end\>\s\+\(function\\|sub\)', 'bW')<cr> 27 nnoremap <buffer> <silent> ][ :call <SID>VbSearch('^\s*\<end\>\s\+\(function\\|sub\)', 'W')<cr> 40 …<\%(private\|public\)\>\s\+\)\=\<function\>\s\+\([^ \t(]\+\):\%(^\s*\)\@<=\<\1\>\s*=:\%(^\s*\)\@<=…
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | mib.vim | 37 syn keyword mibEpilogue FORCE-INCLUDE EXCLUDE cookie get-function set-function 38 syn keyword mibEpilogue test-function get-function-async set-function-async 39 syn keyword mibEpilogue test-function-async next-function next-function-async
|
| /vim-8.2.3635/runtime/indent/testdir/ |
| H A D | matlab.ok | 63 function foo 65 function nested 73 function foo 75 function nested 83 function foo 85 function nested
|
| H A D | matlab.in | 63 function foo 65 function nested 73 function foo 75 function nested 83 function foo 85 function nested
|