| /vim-8.2.3635/runtime/indent/ |
| H A D | clojure.vim | 99 " closing one. In case the we are still in the string, we search for the 152 " Special case: we are at a '(('. 160 " Special case: we are now at toplevel. 243 " zero and we search for an enclosing {. 257 " If the curly was not chosen, we take the bracket indent - if 279 " we again use ( + sw for indent. 291 " In case we are at the last character, we use the paren position. 309 " In that case we use the ( position for indent. 316 " function or set, in which case we indent by the shiftwidth 318 " ignored, in which case we use the ( position for indent. [all …]
|
| H A D | pov.vim | 42 " If we are inside a comment (may be nested in obscure ways), give up 68 " When chg > 0, then we opened groups and we should indent more, but when 69 " chg < 0, we closed groups and this already affected the previous line, 70 " so we should not dedent. And when everything else fails, scream. 74 " FIXME: If we have to dedent, we should try to find the indentation of the
|
| H A D | erlang.vim | 406 " We found a non-empty line. If we were moving up, we return the last 460 " If we encounter a syntax error, we return 480 " If we encounter an unexpected token, we return 667 " now, since we were looking for the beginning of the clause. 711 " Are we after a "-spec func() ...;" clause? 723 " Yes, we are. 790 " we currently think we might align to. 867 " tokens of the line, we want to indent like this: 924 " a catch/after/end, we didn't modify it. 1147 " syntax, we use searchpair to make the script quicker. Otherwise we [all …]
|
| H A D | dtd.vim | 79 " where we’re at to determine what to do. 122 " Next comes the content model. If the token we’ve found isn’t a 124 " way, we’re done indenting this element, so set it to that of the first 131 " of parentheses. As soon as we hit 0 we’re done. If that happens we must 157 " If we’ve seen an addition or exception already and this is of the same 179 " current line is a lone “>”, in which case we indent to the same level 180 " as the first line. Otherwise, if the attribute name is “>”, we have 193 " parentheses and indent to the innermost one if we don’t reach the end 248 " does exist, indent to same level as first line, as we’re now done with 253 " that this is an external unparsed entity. In that case we have to look [all …]
|
| H A D | typescript.vim | 48 " Expression used to check whether we should skip a match with searchpair(). 122 " Start on the line we're at and use its indent. 126 " If we have a continuation line, or we're in a string, use line as MSL. 127 " Otherwise, terminate search as we have found our MSL already. 168 " if the line has a comma first or comma last then we can assume that we 246 " Set up more variables now that we know we aren't continuation bound. 305 " If we got a closing bracket on an empty line, find its match and indent 306 " according to it. For parentheses we indent to its column - 1, for the 307 " others we indent to the containing line's MSL's level. Return -1 if fail. 324 " otherwise we indent 1 level [all …]
|
| H A D | falcon.vim | 118 " Start on the line we're at and use its indent. 123 " If we have a continuation line, or we're in a string, use line as MSL. 124 " Otherwise, terminate search as we have found our MSL already. 280 " If we got a closing bracket on an empty line, find its match and indent 281 " according to it. For parentheses we indent to its column - 1, for the 282 " others we indent to the containing line's MSL's level. Return -1 if fail. 297 " If we have a deindenting keyword, find its match and indent to its level. 318 " If we are in a multi-line string or line-comment, don't do anything to it. 396 " TODO: make this better (we need to count them) (or, if a searchpair 397 " fails, we know that something is lacking an end and thus we indent a [all …]
|
| H A D | julia.vim | 304 " we use the % command to skip back (tries to ues matchit if possible, 362 " unless we're in a function arguments list or alignment is disabled, in 363 " which case we just add an extra indent 373 " previous line. But since we know we are still in a bracketed expression, 374 " we need to find the line where the bracket was opened 387 " we skipped a bracket set, keep searching for an opening bracket 399 " the situation we align it with the opening one, or we let the rest of 400 " the code figure it out (the case in which we're closing a function 422 " We are not in a multiline bracketed expression. Thus we look for a 445 " Are we in a multiline import/using/export statement, right below the [all …]
|
| H A D | ruby.vim | 81 " Expression used to check whether we should skip a match with searchpair(). 216 " Special case: we don't need the real s:PrevNonBlankNonString for an empty 318 " If we got a closing bracket on an empty line, find its match and indent 319 " according to it. For parentheses we indent to its column - 1, for the 349 " If we have a =begin or =end set indent to first column. 359 " If we have a deindenting keyword, find its match and indent to its level. 616 " TODO: make this better (we need to count them) (or, if a searchpair 617 " fails, we know that something is lacking an end and thus we indent a 757 " Start on the line we're at and use its indent. 761 " If we have a continuation line, or we're in a string, use line as MSL. [all …]
|
| H A D | ada.vim | 53 " Try to find indent of the block we're in 59 " with a lesser or equal indent than we currently (on prev_lnum) have. 95 " Try to find indent of the block we're in (and about to complete), 140 " (after we've indented due to multi-line statements). 141 " This time, we start searching on the line *before* the one given (which is 142 " the end of a statement - we want the previous beginning). 257 " Don't do this if we've already indented due to the previous line
|
| H A D | cdl.vim | 43 " if we hit the start of the file then f = -1, return 1 (formula) 67 " Whether a '=' is a conditional or an assignment. -1 means we don't know 111 if f == -1 " we don't know yet, find out 125 if f == -1 " we don't know yet if is an assignment, find out
|
| H A D | jsonc.vim | 112 " If we're in the middle of a comment 124 " If we got a closing bracket on an empty line, find its match and indent 145 " If we are in a multi-line string, don't do anything to it. 168 " If the previous line contained an opening bracket, and we are still in it,
|
| /vim-8.2.3635/src/ |
| H A D | config.h.in | 6 /* Define if we have EBCDIC code */ 61 * If we cannot trust one of the following from the libraries, we use our 427 /* Define if we have dlfcn.h. */ 436 /* Define if we have dlopen() */ 439 /* Define if we have dlsym() */ 442 /* Define if we have dl.h. */ 445 /* Define if we have shl_load() */ 493 /* Define if we have isinf() */ 496 /* Define if we have isnan() */ 499 /* Define if we have dirfd() */ [all …]
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | 2html.vim | 288 " first, get the style names we need 302 " (always succeeds because we pre-populate it) 442 " create the function we built line by line above 982 \ " * we corrected the raw number to a line ID.", 1008 " if we're not using CSS we use a font tag which can't have a div inside 1180 " if we were making a general-purpose progress bar, we'd need to limit to a 1273 " close all folds again so we can get the fold text as we go 1504 " If this is not the last fold we're opening on this line, we need 1604 " Go along till we find a change in hlID 1619 " Go along till we find a change in synID [all …]
|
| H A D | jproperties.vim | 12 " Set a value for the sync block that we use to find long continuation lines 27 " we take special efforts to pick out only "id=value" and "id:value" forms 75 " here an assignment is id=value or id:value, and we conveniently 80 " always followed by = or :, and we find it in an assignment 90 " definition, but we don't look for that here (because it's a major hassle)
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | sqlcomplete.vim | 53 " - Improved the handling of column completion. First we match any 231 " Unless g:omni_sql_include_owner == 1, then we can 327 " The last time we displayed a column list we stored 361 " cached table list. If it does, then we have 376 " name, so we can shift the items appropriately. 388 " The last time we displayed a column list we stored 402 " If not empty, we have a match on columns 523 " since we had no hits with the tables. 661 " Check if we have already cached the syntax list 835 " If we have not found a cached copy of the table [all …]
|
| H A D | spellfile.vim | 7 " thus we can't use the alias ftp.vim.org here. 14 " If the netrw plugin isn't loaded we silently skip everything. 23 " If the URL changes we try all files again. 38 " Find spell directories we can write in. 67 " Remember the buffer number, we check it below. 76 " we need to go back to our own buffer and window. 153 " Wipe out the buffer we used.
|
| H A D | tohtml.vim | 479 " so we can later save the file as valid html 493 " TODO: the comment above says we're going to allow saving the file 494 " later...but here we discard it? 530 " set the fileencoding to match the charset we'll be using 568 \ " * we corrected the raw number to a line ID.", 689 " just restore the known options if we've already retrieved them 695 " Define the correct option if the old option name exists and we haven't 747 " if we're not using CSS we cannot use a pre section because <font> tags 759 " set up expand_tabs option after all the overrides so we know the 774 " 'fileencoding' from it or warn the user if we cannot [all …]
|
| H A D | htmlcomplete.vim | 89 " We are inside of <script> tag. But we should also get contents 123 " Look like we may have broken tag. Check previous lines. 140 " Make sure we don't have counter 153 " If b:compl_context begins with <? we are inside of PHP code. It 170 " a:base is very short - we need context 172 " Check if we should do CSS completion inside of <style> tag 243 " If context contains > it means we are already outside of tag and we 254 " we need to make it lowercase for processing 489 " If attr contains =\s*[\"'] we match value of attribute 505 " Now we are looking for local anchors defined by name or id [all …]
|
| H A D | syntaxcomplete.vim | 110 " Indicates whether we should use the iskeyword option to determine 335 " Do nothing since we have specific a specific list of groups 389 " characters and see if we get a match with the current syntax 419 " This code is no longer needed in version 6.0 since we have 421 " groups we are interested in. 432 " Pass in the full syntax listing, plus the group name we 477 " " So, we will make the format of finding the syntax group names 497 " " This code is no longer needed in version 6.0 since we have 499 " " groups we are interested in. 510 " " Pass in the full syntax listing, plus the group name we [all …]
|
| H A D | xmlcomplete.vim | 83 " Look like we may have broken tag. Check previous lines. Up to 101 " Make sure we don't have counter 106 " Make sure we will have only current namespace 119 " a:base is very short - we need context 127 " There is still possibility we may do something - eg. close tag 177 " Generally if context contains > it means we are outside of tag and 202 " If attr contains =\s*[\"'] we catch value of attribute 209 " Return nothing if we are inside of ! or ? tag 459 elseif !s:Instack(tag, a:unaryTagsStack) "we have a mismatch error
|
| /vim-8.2.3635/ |
| H A D | README_VIM9.md | 16 properties, is faster Vim script. So how do we do that? 21 very fast. We're lucky if we can make it twice as fast. The overhead 52 we can gain, and also that Vim script can be faster than builtin 138 While we are doing that, since the lines in this function won't be fully 139 backwards compatible anyway, we can also make Vim script easier to use. 155 to be discussed, but we can consider adding type checking and a simple 158 TypeScript adds type checking. But we'll have to see how much of that 159 we actually want to include in Vim script. Ideally a conversion tool 163 Vim script won't work the same as any specific language, but we can use 167 possible, if we make local variables shadow commands. That should be OK,
|
| /vim-8.2.3635/runtime/ftplugin/ |
| H A D | perl.vim | 59 " If we can't call perl to get its path, just default to using the 65 " Append perlpath to the existing path value, if it is set. Since we don't 66 " use += to do it because of the commas in perlpath, we have to handle the 79 " Undo the stuff we changed.
|
| H A D | changelog.vim | 28 " should we perhaps open the ChangeLog file even if it doesn't exist already? 31 " If 'filetype' isn't "changelog", we must have been to add ChangeLog opener 163 " Position the cursor once we've done all the funky substitution. 185 " Ok, now we look for the end of the date entry, and add an entry. 203 " Make sure we have a cursor positioning. 216 " Reposition cursor once we're done.
|
| /vim-8.2.3635/src/testdir/ |
| H A D | test_system.vim | 26 " On OS/X we get leading spaces 31 " On Windows we may get a trailing CR. 33 " On OS/X we get leading spaces 132 " On Windows we may get a trailing space and CR.
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | usr_32.txt | 41 Also note that we are talking about text writes here. For writing the undo 47 In section |02.5| we only discussed one line of undo/redo. But it is also 65 If we now undo one change, back to "one too", and change "one" to "me" we 154 was made. Assuming we are below change 4, at "not two", you can go back ten
|