Home
last modified time | relevance | path

Searched refs:comment (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/vim-8.2.3635/src/testdir/
H A Dtest_join.vim356 // comment
360 // comment
364 # bracket) is a comment leader itself. Make sure that this comment leader is
366 < On this line a new comment is opened which spans 2 lines. This comment should
367 < retain its comment leader.
370 # bracket) is a comment leader itself. Make sure that this comment leader is
372 < On this line a new comment is opened which spans 2 lines. This comment should
373 < retain its comment leader.
416 int i = 7 /* foo *// 3 // comment
420comment leader (left angle bracket) is a comment leader itself. Make sure that this comment leader…
[all …]
H A Dtest_vim9_script.vim369 try # comment
373 catch # comment
377 endtry # comment
1061 # comment 1
1063 # comment 3
1066 # comment 6
1068 assert_equal(['# comment 1', 'two', '# comment 3', '', 'five', '# comment 6'], lines)
2456 # comment
2458 # comment
3594 #\ comment
[all …]
H A Dtest_textprop.vim13 call assert_equal('comment', proptypes[0])
15 let proptype = prop_type_get('comment')
21 call prop_type_delete('comment')
419 prop_type_add('comment', {
426 prop_type_delete('comment')
762 call prop_type_delete('comment')
836 call prop_type_delete('comment')
870 call prop_type_delete('comment')
1001 call prop_type_delete('comment')
1030 call prop_type_delete('comment')
[all …]
H A Dtest_hide.vim45 " :hide as a command with trailing comment
46 hide " comment
54 hide | new Xf2 " comment
62 " :hide as a modifier with trailing comment
63 hide edit Xf2 " comment
81 edit Xf2 " comment
91 hide edit! Xf2 " comment
H A Dtest_smartindent.vim69 " After a C style comment, indent for a following line should line up with the
70 " line containing the start of the comment.
76 call assert_equal([' abc', ' /*', ' * comment', ' * cont',
91 " Test for inserting lines before and after a one line comment
95 exe "normal i\<C-t>abc;\n\<C-t>/* comment */"
98 call assert_equal([' abc;', "\tj = 1;", "\t/* comment */", "\ti = 10;"],
103 " Test for smartindent with a comment continued across multiple lines
H A Dtest_cindent.vim732 // comment
734 // comment
1027 # comment
1036 # comment
1697 // comment
1699 // comment
2075 * comment
2094 * comment
2693 A comment.
2728 A comment.
[all …]
H A Dtest_comments.vim42 " Test for the 'f' flag in 'comments' (only the first line has a comment
57 " Test for automatically adding comment leaders in insert mode
67 " If a comment ends in a single line, then don't add it in the next line
74 " Copy the trailing indentation from the leader comment to a new line
81 " Test for the 'r' flag in 'comments' (right align comment)
118 " Test for using a multibyte character as a comment leader
262 " Test for formatting lines where only the first line has a comment.
H A Dtest_vim9_expr.vim101 # comment
102 'no' # comment
178 # comment
247 #comment
351 v:false # comment
401 # comment
514 # comment
1302 # comment
1920 # comment
1998 # comment
[all …]
/vim-8.2.3635/
H A DMakefile270 dist/comment:
271 mkdir dist/comment
273 COMMENT_RT = comment/$(VERSION)-rt
277 COMMENT_SRC = comment/$(VERSION)-src
281 dist/$(COMMENT_RT): dist/comment
284 dist/$(COMMENT_W32): dist/comment
287 dist/$(COMMENT_GVIM): dist/comment
290 dist/$(COMMENT_OLE): dist/comment
293 dist/$(COMMENT_SRC): dist/comment
296 dist/$(COMMENT_HTML): dist/comment
[all …]
/vim-8.2.3635/runtime/indent/
H A Dvhdl.vim23 " not a comment
50 " find previous line that is not a comment
75 " indent: previous line's comment position, otherwise follow next non-comment line if possible
84 " find nextnonblank line that is not a comment
100 " find following previous non-comment line
162 " where: start of previous non-comment line
166 " where: start of previous non-comment line
175 " find following previous non-comment line
343 " indent: backtrace previous non-comment lines
354 " find following previous non-comment line
[all …]
H A Dprolog.vim40 " Previous line was comment -> use previous line's indent
44 " Previous line was the start of block comment -> +1 after '/*' comment
48 " Previous line was the end of block comment -> -1 after '*/' comment
H A Dzimbu.vim90 " If this line is not a comment and the previous one is then move the
96 " Only comment lines before this, no indent
114 " line up continued comment that started after some code
115 " String something # comment comment
116 " # comment
H A Dhtml.vim168 " 5 comment start
169 " 6 conditional comment start
174 " -5 comment end
175 " -6 conditional comment end
451 " if comment opener found,
452 " assume a:lnum within comment
455 " if a:lnum-1 has a closing comment
498 " else look back for comment
501 " comment opener found, assume a:lnum within comment
806 " current line starts with end of comment, line up with comment start.
[all …]
H A Dpov.vim33 if i >= 0 && synIDattr(synID(a:line, i, 0), "name") !~? "string\|comment"
42 " If we are inside a comment (may be nested in obscure ways), give up
43 if synIDattr(synID(v:lnum, indent(v:lnum)+1, 0), "name") =~? "string\|comment"
47 " Search backwards for the first non-empty, non-comment line.
50 while plnum > 0 && synIDattr(synID(plnum, plind+1, 0), "name") =~? "comment"
H A Dtypescript.vim37 let s:syng_strcom = 'string\|regex\|comment\c'
43 let s:syng_multiline = 'comment\c'
45 " Regex of syntax group names that are line comment.
76 " Check if the character at lnum:col is inside a string, comment, or is ascii.
86 " Check if the character at lnum:col is inside a multi-line comment.
91 " Check if the character at lnum:col is a line comment.
96 " Find line above 'lnum' that isn't empty, in a comment, or in a string.
102 " If the line isn't empty (with opt. comment) or in a string, end search.
356 " If we are in a multi-line comment, cindent does the right thing.
371 " comment, use that comment's indent. Deduct one char to account for the
H A Dsml.vim77 … a:pmid, a:pend, 'bWn', 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\\|comment"'))
78 …t, a:pmid, a:pend, 'bW', 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\\|comment"')
88 … a:pmid, a:pend, 'bWn', 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\\|comment"'))
89 …t, a:pmid, a:pend, 'bW', 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\\|comment"')
101 …, 'bWn', 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\\|comment" || getline(".") …
156 …, '', '\<end\>', 'bWn', 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\\|comment"'))
/vim-8.2.3635/runtime/autoload/xml/
H A Dxsl.vim6 …ly-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-o…
10 \ 'comment' : [[], {}],
14 …ly-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-o…
17 …\ 'if' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', …
26 …ly-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-o…
32 …ly-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-o…
36 …ly-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-o…
38 …ly-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-o…
/vim-8.2.3635/runtime/syntax/
H A Dasm.vim76 " a backslash ending a C++ style comment does not extend the comment to the
80 " Line comment characters depend on the target architecture and command line
84 " Some line comment characters have other meanings for other targets. For
86 " comment marker.
90 " are also named *.asm), the following are used as line comment characters:
98 " following two lines and comment the one above.
103 " comment highlighting or use a specific, more comprehensive syntax file.
H A Dart.vim33 syn match comment ";.*$"
35 syn match comment "#+:\=ignore" nextgroup=artignore skipwhite skipnl
37 syn region artignore start="(" end=")" contained contains=artignore,comment
43 hi def link artignore comment
/vim-8.2.3635/runtime/doc/
H A Dindent.txt388 cN Indent comment lines after the comment opener, when there is no
412 /* comment */ /* comment */
1164 full-line comment.
1168 sig_c <= sig_d; -- comment 0
1169 -- comment 1
1170 -- comment 2
1179 -- comment 3
1180 sig_e <= sig_f; -- comment 4
1181 -- comment 5
1185 sig_c <= sig_d; -- comment 0
[all …]
H A Dpi_paren.txt38 in a string or comment syntax item, then matches inside string and comment
39 syntax items are ignored. Any syntax items with "string" or "comment"
40 somewhere in their name are considered string or comment items.
H A Dchange.txt790 the start of a comment.
1538 * this is a C comment
1553 f Only the first line has the comment string. Do not repeat comment on
1556 s Start of three-piece comment
1560 e End of a three-piece comment
1607 When you hit Return in a C-comment, Vim will insert the middle comment leader
1610 middle-comment leader with the end-comment leader and apply any specified
1631 after a start-comment, opening a new line before an end-comment, and
1785 the start of the comment.
1788 * Your typical comment. ~
[all …]
/vim-8.2.3635/runtime/autoload/dist/
H A Dft.vim157 " Look for either an opening comment, '#', or a block start, '{".
166 " Not a blank line, not a comment, and not a block start,
276 let saw_comment = 0 " Whether we've seen a multiline comment leader.
419 " This function checks for an assembly comment the first ten lines.
429 " Or it looks like a Progress /* comment
446 " Look for either an opening comment or a program start.
456 " Or it looks like a Progress /* comment
511 " Rely on the file to start with a comment.
588 " Skip empty and comment lines.
592 " Found an "exec" line after a comment with continuation
[all …]
/vim-8.2.3635/runtime/ftplugin/
H A Dmrxvtrc.vim13 " Really any line that does not match an option is a comment. But use '!' for
19 " comment leaders makes Vim think that every comment line is a new sentence.
/vim-8.2.3635/src/
H A Dhardcopy.c1782 int comment; in prt_next_dsc() local
1794 for (comment = 0; comment < (int)ARRAY_LENGTH(prt_dsc_table); comment++) in prt_next_dsc()
1796 prt_dsc_table[comment].len) == 0) in prt_next_dsc()
1803 offset = prt_dsc_table[comment].len; in prt_next_dsc()
1976 prt_dsc_noarg(char *comment) in prt_dsc_noarg() argument
1979 "%%%%%s\n", comment); in prt_dsc_noarg()
1984 prt_dsc_textline(char *comment, char *text) in prt_dsc_textline() argument
1992 prt_dsc_text(char *comment, char *text) in prt_dsc_text() argument
2008 "%%%%%s:", comment); in prt_dsc_ints()
2026 if (comment != NULL) in prt_dsc_resources()
[all …]

12345678910>>...13