adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
25
plugins/bundle/xptemplate/doc/xpt/indent.md
Normal file
25
plugins/bundle/xptemplate/doc/xpt/indent.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
- 4-space indent:
|
||||
Used in snippet file.
|
||||
Consistent with different 'tabstop', 'shiftwidth' setting.
|
||||
|
||||
- tab indent:
|
||||
Used internally in XPTemplate.
|
||||
Produced by converting 4 leading space to one tab.
|
||||
|
||||
These two above are VIM setting irrelavent. Snippet file can use either of
|
||||
them, but 4-space indent is recommended.
|
||||
|
||||
- space indent:
|
||||
Produced by expanding a `tab` char to `&shiftwidth` spaces.
|
||||
These spaces occupies the same room as actual indent.
|
||||
This is the second last step before putting text onto screen.
|
||||
|
||||
space indent texts are used internally.
|
||||
Wrapped text is passing through in this style.
|
||||
|
||||
- actual indent:
|
||||
Produced by convert `&tabstop` space to one tab if 'expandtab' not set.
|
||||
This is the actual indent
|
||||
|
||||
The last two are VIM setting relavent.
|
||||
Loading…
Add table
Add a link
Reference in a new issue