diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-02 01:37:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 01:37:05 -0500 |
commit | 6224ec3d4a672a9beb7522a34e61fa3b335bf070 (patch) | |
tree | ffa272383fa6ad9a6deb7dc3b76ec14103a50a40 /runtime | |
parent | 90f3a8ba291fb0583ab6b0bd33129fdd45df1dab (diff) | |
parent | 4b65e4aeab16c1700a3c01a643e439a5000d932e (diff) | |
download | rneovim-6224ec3d4a672a9beb7522a34e61fa3b335bf070.tar.gz rneovim-6224ec3d4a672a9beb7522a34e61fa3b335bf070.tar.bz2 rneovim-6224ec3d4a672a9beb7522a34e61fa3b335bf070.zip |
Merge pull request #13204 from janlazo/vim-8.2.1938
vim-patch:8.1.{2030,2063},8.2.{864,1086,1938}
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/indent.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt index 1df0331239..f2278f8453 100644 --- a/runtime/doc/indent.txt +++ b/runtime/doc/indent.txt @@ -566,9 +566,15 @@ The examples below assume a 'shiftwidth' of 4. with "#" does not work. + PN When N is non-zero recognize C pragmas, and indent them like any + other code; does not concern other preprocessor directives. + When N is zero (default): don't recognize C pragmas, treating + them like every other preprocessor directive. + + The defaults, spelled out in full, are: cinoptions=>s,e0,n0,f0,{0,}0,^0,L-1,:s,=s,l0,b0,gs,hs,N0,E0,ps,ts,is,+s, - c3,C0,/0,(2s,us,U0,w0,W0,k0,m0,j0,J0,)20,*70,#0 + c3,C0,/0,(2s,us,U0,w0,W0,k0,m0,j0,J0,)20,*70,#0,P0 Vim puts a line in column 1 if: - It starts with '#' (preprocessor directives), if 'cinkeys' contains '#0'. |