Mercurial > vim
comparison runtime/doc/indent.txt @ 27036:3e661b0cf500
Update runtime files
Commit: https://github.com/vim/vim/commit/2f0936cb9a2eb026acac03e6a8fd0b2a5d97508b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 8 21:51:59 2022 +0000
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Jan 2022 23:00:06 +0100 |
parents | babd9f1dbe12 |
children | 4789f29c9595 |
comparison
equal
deleted
inserted
replaced
27035:5232c68bb21d | 27036:3e661b0cf500 |
---|---|
877 ------------- | 877 ------------- |
878 | 878 |
879 *PHP_outdentphpescape* | 879 *PHP_outdentphpescape* |
880 To indent PHP escape tags as the surrounding non-PHP code (only affects the | 880 To indent PHP escape tags as the surrounding non-PHP code (only affects the |
881 PHP escape tags): > | 881 PHP escape tags): > |
882 :let g:PHP_outdentphpescape = 0 | 882 :let g:PHP_outdentphpescape = 0 |
883 ------------- | 883 ------------- |
884 | 884 |
885 *PHP_removeCRwhenUnix* | 885 *PHP_removeCRwhenUnix* |
886 To automatically remove '\r' characters when the 'fileformat' is set to Unix: > | 886 To automatically remove '\r' characters when the 'fileformat' is set to Unix: > |
887 :let g:PHP_removeCRwhenUnix = 1 | 887 :let g:PHP_removeCRwhenUnix = 1 |
1204 On the first pass, code will be indented. On the second pass, full-line | 1204 On the first pass, code will be indented. On the second pass, full-line |
1205 comments will be indented according to the correctly indented code. | 1205 comments will be indented according to the correctly indented code. |
1206 | 1206 |
1207 | 1207 |
1208 VIM *ft-vim-indent* | 1208 VIM *ft-vim-indent* |
1209 | 1209 *g:vim_indent_cont* |
1210 For indenting Vim scripts there is one variable that specifies the amount of | 1210 For indenting Vim scripts there is one variable that specifies the amount of |
1211 indent for a continuation line, a line that starts with a backslash: > | 1211 indent for a continuation line, a line that starts with a backslash: > |
1212 | 1212 |
1213 :let g:vim_indent_cont = shiftwidth() * 3 | 1213 :let g:vim_indent_cont = shiftwidth() * 3 |
1214 | 1214 |