add filetype support

This commit is contained in:
Yggdroot
2013-03-05 17:28:40 +08:00
parent 927d494512
commit 2a53c50380
2 changed files with 57 additions and 20 deletions

View File

@@ -27,7 +27,7 @@ g:indentLine_loaded *g:loaded_indentLine*
g:indentLine_char *g:indentLine_char*
Specify a character to be used as indent line.
You also can use other characters:
| ¦ <EFBFBD><EFBFBD>?<3F><>?
| ¦ ┆ │
Default value is "|".
g:indentLine_color_term *g:indentLine_color_term*
@@ -42,13 +42,27 @@ g:indentLine_color_gui *g:indentLine_color_gui*
g:indentLine_indentLevel *g:indentLine_indentLevel*
Specify how much indent level do you want to use for
indentLine. Most program will not has bigger indent level than
20.
Default value is 20.
g:indentLine_enabled
10.
Default value is 10.
g:indentLine_enabled *g:indentLine_enabled*
Specify whether to enable indentLine plugin by default.
If value is not 0, the plugin is on by default, otherwise off.
Default value is 1.
g:indentLine_fileType *g:indentLine_fileType*
This variable specify a list of comma separated file types.
When opening these types of files, the plugin is enabled by
default.
e.g. let g:indentLine_fileType = '*.c,*.h'
Default value is "*" which means all file types is supported.
g:indentLine_fileTypeExclude *g:indentLine_fileTypeExclude*
This variable specify a list of comma separated file types.
When opening these types of files, the plugin is disabled by
default.
e.g. let g:indentLine_fileType = '*.txt,*.sh'
Default value is "" which means no file types is excluded.
==============================================================================
COMMANDS *indentLine-commands*
@@ -75,4 +89,4 @@ NagatoPain
Salman Halim
Christophe
==============================================================================
vim:tw=78:ts=8:ft=help:norl:noet
vim:tw=78:ts=8:ft=help:norl