| /vim-8.2.3635/src/testdir/ |
| H A D | test_set.vim | 32 set textwidth=79 34 call assert_match("^\n--- Options ---\n.*textwidth=79\\>", a) 35 set textwidth& 37 setlocal textwidth=78 39 call assert_match("^\n--- Local option values ---\n.*textwidth=78\\>", a) 40 setlocal textwidth& 42 setglobal textwidth=77 44 call assert_match("^\n--- Global option values ---\n.*textwidth=77\\>", a) 45 setglobal textwidth&
|
| H A D | test_cjk_linebreak.vim | 6 set textwidth=12 34 set textwidth=12 58 set textwidth=12 ambiwidth=double 68 set textwidth=12 ambiwidth=double 75 set textwidth=12 ambiwidth=double
|
| H A D | test_textformat.vim | 430 setl textwidth=0 951 setlocal textwidth=0 986 setl textwidth=10 996 setl textwidth& 1004 setlocal textwidth=12 1017 setlocal textwidth=10 1029 " 'textwidth' 1032 setlocal textwidth=20 1064 setlocal textwidth=20 1084 setlocal textwidth=20 [all …]
|
| H A D | test_paste.vim | 177 set smarttab softtabstop=3 textwidth=27 wrapmargin=12 194 call assert_equal(0, &textwidth) 212 call assert_equal(27, &textwidth) 222 set smarttab& softtabstop& textwidth& wrapmargin&
|
| H A D | test_help_tagjump.vim | 132 exec "help! ('textwidth'" 134 call assert_true(getline('.') =~ "\\*'textwidth'\\*")
|
| /vim-8.2.3635/src/ |
| H A D | textformat.c | 41 int textwidth, in internal_format() argument 125 coladvance((colnr_T)textwidth); in internal_format() 766 int textwidth; in comp_textwidth() local 776 textwidth -= 1; in comp_textwidth() 783 textwidth -= 1; in comp_textwidth() 786 textwidth -= 8; in comp_textwidth() 788 if (textwidth < 0) in comp_textwidth() 789 textwidth = 0; in comp_textwidth() 793 if (textwidth > 79) in comp_textwidth() 794 textwidth = 79; in comp_textwidth() [all …]
|
| H A D | edit.c | 2055 int textwidth; in insertchar() local 2060 textwidth = comp_textwidth(force_format); in insertchar() 2078 if (textwidth > 0 in insertchar() 2086 || Insstart_textlen <= (colnr_T)textwidth) in insertchar() 2088 || Insstart_blank_vcol <= (colnr_T)textwidth in insertchar() 2099 && (force_format || virtcol > (colnr_T)textwidth)) in insertchar() 2108 internal_format(textwidth, second_indent, flags, c == NUL, c); in insertchar() 2207 if (textwidth > 0) in insertchar() 2221 && (textwidth == 0 in insertchar() 2222 || (virtcol += byte2cells(buf[i - 1])) < (colnr_T)textwidth) in insertchar()
|
| H A D | move.c | 953 int textwidth; in curs_columns() local 997 textwidth = curwin->w_width - extra; in curs_columns() 998 if (textwidth <= 0) in curs_columns() 1010 width = textwidth + curwin_col_off2(); in curs_columns() 1063 if (p_ss == 0 || diff >= textwidth / 2 || off_right >= off_left) in curs_columns() 1064 new_leftcol = curwin->w_wcol - extra - textwidth / 2; in curs_columns()
|
| /vim-8.2.3635/runtime/pack/dist/opt/justify/plugin/ |
| H A D | justify.vim | 8 " function Justify( [ textwidth [, maxspaces [, indent] ] ] ) 17 " textwidth argument 19 " If not specified, the value of the 'textwidth' option is used. If 20 " 'textwidth' is zero a value of 80 is used. 23 " 'textwidth' will be used. These are handy, if you just want to specify 68 " is wider than the used textwidth, the line will be left untouched (no 72 " If the resulting line is shorter than the used textwidth it is left 147 " Set textwidth (accept 'tw' and '' as arguments)
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | xmlformat.vim | 62 " but reformat according to &textwidth 158 " return textwidth (or 80 if not set) 159 return &textwidth == 0 ? 80 : &textwidth 161 " Format input line according to textwidth {{{1
|
| /vim-8.2.3635/runtime/ftplugin/ |
| H A D | occam.vim | 29 setlocal textwidth=78 44 \ . " formatoptions< comments< textwidth<"
|
| H A D | fortran.vim | 66 " Set comments and textwidth according to source type 69 " Fixed format requires a textwidth of 72 for code, 84 " Free format allows a textwidth of 132
|
| H A D | help.vim | 16 setlocal formatoptions+=tcroql textwidth=78 keywordprg=:help
|
| H A D | scdoc.vim | 19 setlocal textwidth=80
|
| H A D | rust.vim | 44 setlocal textwidth=99 153 \|setlocal tabstop< shiftwidth< softtabstop< expandtab< textwidth<
|
| H A D | mail.vim | 15 " "jokes" (e.g., setting 'textwidth' to 5).
|
| H A D | debcontrol.vim | 20 setlocal textwidth=0
|
| H A D | verilog.vim | 35 if &textwidth == 0
|
| /vim-8.2.3635/runtime/ |
| H A D | vimrc_example.vim | 40 " For all text files set 'textwidth' to 78 characters. 41 autocmd FileType text setlocal textwidth=78
|
| /vim-8.2.3635/src/proto/ |
| H A D | textformat.pro | 3 void internal_format(int textwidth, int second_indent, int flags, int format_only, int c);
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | change.txt | 1274 ('textwidth' and other options affect what is inserted). 1387 (default 'textwidth' or 80 when 'textwidth' is 0). 1391 (default 'textwidth' or 80 when 'textwidth' is 0). 1407 In the third case the 'textwidth' option controls the 1409 If the 'textwidth' option is 0, the formatted line 1665 t Auto-wrap text using textwidth 1667 c Auto-wrap comments using textwidth, inserting the current comment 1719 reaching 'textwidth', Vim does not perform auto-wrapping. 1722 'textwidth' when the insert command started, Vim does not 1737 ] Respect textwidth rigorously. With this flag set, no line can be [all …]
|
| H A D | usr_25.txt | 30 If you set the 'textwidth' option, Vim automatically inserts line breaks. 34 :set textwidth=30 141 'textwidth'. (If 'textwidth' is 0, the default is 80.) 393 Set 'textwidth' to zero to avoid a paragraph to be split.
|
| H A D | insert.txt | 18 3. 'textwidth' and 'wrapmargin' options |ins-textwidth| 115 'textwidth', 'formatoptions', or 'autoindent' set, this will 153 < Options 'textwidth', 'formatoptions', etc. still apply. If 228 Note that for CTRL-E and CTRL-Y 'textwidth' is not used, to be 475 3. 'textwidth' and 'wrapmargin' options *ins-textwidth* 477 The 'textwidth' option can be used to automatically break a line before it 478 gets too long. Set the 'textwidth' option to the desired maximum line 481 line). If you set 'textwidth' to 0, this feature is disabled. 485 screen. When using 'wrapmargin' this is equal to using 'textwidth' with a 489 When 'textwidth' and 'wrapmargin' are both set, 'textwidth' is used. [all …]
|
| /vim-8.2.3635/runtime/compiler/ |
| H A D | decada.vim | 57 " vim: textwidth=78 wrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab
|
| H A D | gnat.vim | 75 " vim: textwidth=0 wrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab
|