Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/vim-8.2.3635/runtime/indent/
H A Derlang.vim333 " empty, find the first non-empty line in the given `direction` and return
605 if empty(a:stack)
648 if empty(a:stack)
683 if empty(a:stack)
692 if empty(a:stack)
698 if !empty(a:stack)
912 if empty(stack)
1027 if empty(stack)
1214 if empty(stack)
1269 if empty(stack)
[all …]
H A Didlang.vim23 " First non-empty line above the current line.
25 " v:lnum is the first non-empty line -- zero indent.
29 " Second non-empty line above the current line.
H A Dxml.vim7 " 20200529 - Handle empty closing tags correctly
105 " Find a non-empty line above the current line.
142 elseif empty(syn_name_start) && empty(syn_name_end) && a:use_syntax_check
146 elseif !empty(prev_syn_name_end)
174 " Checks whether the line ends with an empty closing tag such as <lb/>
H A Dliquid.vim30 …=endif,=endunless,=endifchanged,=endcase,=endfor,=endtablerow,=endcapture,=else,=elsif,=when,=empty
58 …let ind += sw * s:count(line,'{%\s*\%(if\|elsif\|else\|unless\|ifchanged\|case\|when\|for\|empty\|…
60 let ind -= sw * s:count(cline,'{%\s*\%(elsif\|else\|when\|empty\)\>')
H A Dfalcon.vim91 " Find line above 'lnum' that isn't empty, in a comment, or in a string.
97 " If the line isn't empty (with opt. comment) or in a string, end search.
203 if empty(opening.parentheses)
211 if empty(opening.braces)
219 if empty(opening.brackets)
280 " If we got a closing bracket on an empty line, find its match and indent
326 " If the line is empty and inside a string, use the previous line.
H A Djson.vim48 " Find line above 'lnum' that isn't empty, or in a string.
52 " If the line isn't empty or in a string, end search.
105 " If we got a closing bracket on an empty line, find its match and indent
H A Djsonc.vim46 " Find line above 'lnum' that isn't empty, or in a string.
50 " If the line isn't empty or in a string, end search.
124 " If we got a closing bracket on an empty line, find its match and indent
/vim-8.2.3635/runtime/autoload/
H A Dxmlformat.vim33 " back. We might lose empty lines
37 " Keep empty input lines?
38 if empty(line)
94 if !empty(result)
99 " Might need to remove the last line, if it became empty because of the
102 " do not use empty(), it returns true for `empty(0)`
149 " Check if tag is empty <tag/> {{{1
172 " skip empty words
H A Dgzip.vim57 " make 'patchmode' empty, we don't want a copy of the written file
75 " when filtering the whole buffer, it will become empty
76 let empty = line("'[") == 1 && line("']") == line("$")
104 " Use ++edit if the buffer was empty, keep the 'ff' and 'fenc' options.
107 if empty
116 " if buffer became empty, delete trailing blank line
117 if empty
139 if ok && empty
H A Drust.vim85 if a:bang && !empty(l:args)
141 if !empty(a:lead)
229 let pathisempty = empty(dict.path)
342 " sanity check; make sure it's not empty, /, or $HOME
343 if empty(a:path)
344 echoerr 'Attempted to delete empty path'
354 " If {pwd} is the empty string then it doesn't change the cwd.
357 if !empty(a:pwd)
H A Drustfmt.vim63 if !empty(tokens)
71 if empty(errors)
75 if !empty(errors)
/vim-8.2.3635/src/testdir/
H A Dtest_quotestar.vim9 if empty(exepath('pbcopy')) || empty(exepath('pbpaste'))
142 if empty($DISPLAY)
153 if !empty(skipped)
H A Dtest_method.vim15 call assert_false(l->empty())
16 call assert_true([]->empty())
47 call assert_false(d->empty())
48 call assert_true({}->empty())
H A Dtest_python2.vim1379 " use an empty key to index vim.options
1381 \ 'Vim(let):ValueError: empty keys are not allowed')
1383 \ 'Vim(python):ValueError: empty keys are not allowed')
2922 vim.options[""]:ValueError:('empty keys are not allowed',)
2953 "" in d:ValueError:('empty keys are not allowed',)
3024 d["a"] = {"": 1}:ValueError:('empty keys are not allowed',)
3025 d["a"] = {u"": 1}:ValueError:('empty keys are not allowed',)
3334 l[:] = [{"": 1}]:ValueError:('empty keys are not allowed',)
3492 f({"": 1}):ValueError:('empty keys are not allowed',)
3493 f({u"": 1}):ValueError:('empty keys are not allowed',)
[all …]
H A Dtest_python3.vim269 throw "Skipped: 'termencoding' is not empty"
553 " Try to bind a null List variable (works because an empty list is used)
667 " The following two ranges delete nothing as they match empty list:
692 " The following two ranges delete nothing as they match empty list:
1574 " use an empty key to index vim.options
1576 \ 'Vim(let):ValueError: empty keys are not allowed')
1578 \ 'Vim(py3):ValueError: empty keys are not allowed')
3141 "" in d:(<class 'ValueError'>, ValueError('empty keys are not allowed',))
3680 f({b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
3681 f({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',))
[all …]
H A Dtest_functions.vim46 call assert_equal(1, empty(''))
47 call assert_equal(0, empty('a'))
49 call assert_equal(1, empty(0))
50 call assert_equal(1, empty(-0))
51 call assert_equal(0, empty(1))
52 call assert_equal(0, empty(-1))
55 call assert_equal(1, empty(0.0))
63 call assert_equal(1, empty([]))
66 call assert_equal(1, empty({}))
1824 " dlopen an empty string and nullptr are equivalent, so using an empty
[all …]
H A Dtest_tagcase.vim64 " Verify that the local setting accepts <empty> but that the global setting
65 " does not. The first of these (setting the local value to <empty>) should
H A Dtest_stat.vim188 " ignore empty result, can happen if the file disappeared
197 " ignore empty result, can happen if the file disappeared
207 " ignore empty result, can happen if the file disappeared
/vim-8.2.3635/runtime/syntax/
H A D2html.vim71 if !empty(s:settings.prevent_copy)
247 elseif !empty(a:extra_attrs)
352 " open tag for non-empty primary style
355 " non-empty primary style. handle either empty or non-empty diff style.
504 " won't work as nice for empty text
727 if empty(s:lines)
1552 if empty(s:foldstack)
1630 if empty(s:tablist)
1709 while !empty(s:foldstack)
1774 if !empty(s:settings.prevent_copy)
[all …]
H A Dtidy.vim24 syn keyword tidyCustomTags contained no blocklevel empty inline pre
148 \ decorate-inferred-ul drop-empty-paras drop-empty-elements
191 syn keyword tidyTagsOption new-blocklevel-tags new-empty-tags new-inline-tags new-pre-tags containe…
H A Ddircolors.vim112 if empty(defline)
161 if hi_str == '' && empty(hi_attrs)
177 if !empty(hi_attrs)
/vim-8.2.3635/src/po/
H A DREADME.txt104 - items with an empty msgstr
109 Background: on Solaris an empty msgstr results in an empty message; GNU
110 gettext ignores empty strings and items marked with "#, fuzzy".
H A Den_GB.po236 msgid "E513: write error, conversion failed (make 'fenc' empty to override)"
237 msgstr "E513: Write error, conversion failed (make 'fenc' empty to override)"
241 "E513: write error, conversion failed in line %ld (make 'fenc' empty to "
243 msgstr "E513: Write error, conversion failed in line %ld (make 'fenc' empty to override)"
252 msgid "E206: patchmode: can't touch empty original file"
253 msgstr "E206: Patchmode: cannot touch empty original file"
534 msgid "E664: changelist is empty"
535 msgstr "E664: Changelist is empty"
758 msgid "E749: empty buffer"
/vim-8.2.3635/runtime/doc/
H A Deval.txt134 To test for a non-empty string, use empty(): >
135 :if !empty("foo")
407 empty list then.
488 :if empty(list) " check if list is empty
668 :if empty(dict) " TRUE if dict is empty
1368 3. empty {M}
2609 empty({expr}) Number |TRUE| if {expr} is empty
4395 empty({expr}) *empty()*
6101 When there is no error list or it's empty, an empty list is
6489 empty string.
[all …]
/vim-8.2.3635/runtime/pack/dist/opt/shellmenu/plugin/
H A Dshellmenu.vim50 imenu Test.existence - file (not empty) [ -s ]hi
55 imenu Test.String is empty [ x = "x$" ]hhi
56 imenu Test.String is not empty [ x != "x$" ]hhi

12345678910>>...15