| /vim-8.2.3635/src/testdir/ |
| H A D | test_comments.vim | 3 " Test for the 'n' flag in 'comments' 6 setlocal comments=n:> fo+=ro 23 " Test for the 'b' flag in 'comments' 26 setlocal comments=b:* fo+=ro 46 setlocal comments=f:- fo+=ro 50 setlocal comments=:- 106 setlocal comments=Ob:* fo+=ro 138 set tw=2 fo=cqm comments=n:X 187 set tw& fo& comments& 246 setlocal fo+=j comments=:// [all …]
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | indent.vim | 33 …mn\|continuation-indentation\|case-indentation\|else-endif-column\|line-comments-indentation\|decl… 47 \ -bbb --blank-lines-before-block-comments 66 \ -fc1 --format-first-column-comments 67 \ -fca --format-all-comments 78 \ -nbbb --no-blank-lines-before-block-comments 90 \ -nfc1 --dont-format-first-column-comments 91 \ -nfca --dont-format-comments 104 \ -nsc --dont-star-comments 119 \ -sc --start-left-side-of-comments
|
| H A D | asm.vim | 72 " GAS supports one type of multi line comments: 75 " GAS (undocumentedly?) supports C++ style comments. Unlike in C/C++ however, 81 " options and some comments may double as logical line number directives or 96 " comments. As a remedy, remove `;' from the above. 97 " - ARM comments are not highlighted correctly. For ARM, uncomment the
|
| /vim-8.2.3635/runtime/ftplugin/ |
| H A D | dtrace.vim | 25 " Set 'comments' to format dashed lists in comments. 26 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/ 28 " dtrace uses /* */ comments. Set this explicitly, just in case the user 35 " braces in comments.
|
| H A D | java.vim | 31 " Set 'comments' to format dashed lists in comments. Behaves just like C. 32 setlocal comments& comments^=sO:*\ -,mO:*\ \ ,exO:*/ 46 \ " formatoptions< comments< commentstring< path< includeexpr<" .
|
| H A D | rpl.vim | 19 " Set 'comments' to format dashed lists in comments. 20 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// 22 let b:undo_ftplugin = "setlocal fo< comments<"
|
| H A D | aap.vim | 14 " Reset 'formatoptions', 'comments', 'commentstring' and 'expandtab' to undo 22 " Set 'comments' to format dashed lists in comments. 23 setlocal comments=s:#\ -,m:#\ \ ,e:#,n:#,fb:-
|
| H A D | rrst.vim | 19 setlocal comments=fb:*,fb:-,fb:+,n:> 27 setlocal comments=:#',:###,:##,:# 29 setlocal comments=fb:*,fb:-,fb:+,n:> 34 " If you do not want 'comments' dynamically defined, put in your vimrc:
|
| H A D | json.vim | 11 let b:undo_ftplugin = 'setlocal formatoptions< comments< commentstring<' 15 " JSON has no comments. 16 setlocal comments=
|
| H A D | rmd.vim | 17 setlocal comments=fb:*,fb:-,fb:+,n:> 28 setlocal comments=:#',:###,:##,:# 30 setlocal comments=fb:*,fb:-,fb:+,n:> 35 " If you do not want 'comments' dynamically defined, put in your vimrc:
|
| H A D | verilog.vim | 31 " Set 'comments' to format dashed lists in comments. 32 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// 34 " Format comments to be up to 78 characters long
|
| H A D | hamster.vim | 25 " Use the # sign for comments 26 setlocal comments=:# 28 " Format comments to be up to 78 characters long 42 " Move around comments
|
| H A D | xml.vim | 18 " Remove the middlepart from the comments section, as this causes problems: 20 setlocal comments=s:<!--,e:--> 29 " - match <!--, --> style comments (but not --, --) 60 let b:undo_ftplugin = "setlocal commentstring< comments< formatoptions< formatexpr< " .
|
| H A D | vroom.vim | 16 \ ' expandtab< iskeyword< comments< commentstring<' 29 " Vroom files have no comments (text is inert documentation unless indented). 30 setlocal comments=
|
| H A D | cs.vim | 20 " Set 'comments' to format dashed lists in comments. 21 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://
|
| H A D | c.vim | 33 " Set 'comments' to format dashed lists in comments. 34 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// 42 " braces in comments properly.
|
| H A D | typescript.vim | 18 " Set 'comments' to format dashed lists in comments. 19 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
|
| H A D | msmessages.vim | 23 " Set 'formatoptions' to format all lines, including comments 27 " converted to C code and variants on "; //" which will remain comments 29 setlocal comments=:;,:;//,:;\ //,s:;\ /*\ ,m:;\ \ *\ ,e:;\ \ */
|
| H A D | occam.vim | 27 setlocal comments+=:-- 28 " Maximum length of comments is 78 44 \ . " formatoptions< comments< textwidth<"
|
| H A D | mail.vim | 12 let b:undo_ftplugin = "setl modeline< tw< fo< comments<" 26 " Add n:> to 'comments, in case it was removed elsewhere 27 setlocal comments+=n:>
|
| H A D | pascal.vim | 13 set comments=s:(*,m:\ ,e:*),s:{,m:\ ,e:} 17 set comments+=:/// 22 set comments+=://
|
| H A D | vhdl.vim | 22 " Set 'comments' to format dashed lists in comments. 23 "setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// 25 " Format comments to be up to 78 characters long
|
| H A D | vim.vim | 52 " Set 'comments' to format dashed lists in comments 63 " Format comments to be up to 78 characters long 81 " Move around comments
|
| H A D | javascript.vim | 24 " Set 'comments' to format dashed lists in comments. 25 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | usr_30.txt | 10 for many languages and format comments. 17 |30.6| Formatting comments 516 *30.6* Formatting comments 577 C++ comments: > 579 :set comments=:// 582 recognized. The general form of an item in 'comments' is: 592 :set comments=n:>,n:! 594 There are two items, one for comments starting with ">" and one for comments 622 entry in 'comments' for this looks like this: > 624 :set comments=s1:/*,mb:*,ex:*/ [all …]
|