Use these commands to setup full svn coding style: set ts=4 sw=4 expandtab tw=80 fo=tcroq cindent set isk=a-z,A-Z,48-57,_,.,-,> set cino=>1s,e0,n-2,f0,{.5s,}0,^-.5s,=.5s,t0,+1s,c3,(0,u0,\ 0 Or, alternatively, this simpler setup might suit you; it only adjusts the indenting when braces or control flow statements are involved: set noai cin cino={2,>4,n-2 Conformant indenting style for Subversion source looks like this: if (maybe == yes) do_stuff(); else { do_other_stuff(); } more();
Attributes | Values |
---|
rdfs:label
| - Subversion developer cindent options
|
rdfs:comment
| - Use these commands to setup full svn coding style: set ts=4 sw=4 expandtab tw=80 fo=tcroq cindent set isk=a-z,A-Z,48-57,_,.,-,> set cino=>1s,e0,n-2,f0,{.5s,}0,^-.5s,=.5s,t0,+1s,c3,(0,u0,\ 0 Or, alternatively, this simpler setup might suit you; it only adjusts the indenting when braces or control flow statements are involved: set noai cin cino={2,>4,n-2 Conformant indenting style for Subversion source looks like this: if (maybe == yes) do_stuff(); else { do_other_stuff(); } more();
|
Version
| |
dbkwik:vim/property/wikiPageUsesTemplate
| |
Previous
| |
Subpage
| |
Complexity
| |
Created
| |
ID
| |
NEXT
| |
abstract
| - Use these commands to setup full svn coding style: set ts=4 sw=4 expandtab tw=80 fo=tcroq cindent set isk=a-z,A-Z,48-57,_,.,-,> set cino=>1s,e0,n-2,f0,{.5s,}0,^-.5s,=.5s,t0,+1s,c3,(0,u0,\ 0 Or, alternatively, this simpler setup might suit you; it only adjusts the indenting when braces or control flow statements are involved: set noai cin cino={2,>4,n-2 Conformant indenting style for Subversion source looks like this: if (maybe == yes) do_stuff(); else { do_other_stuff(); } more();
|