From b26c723fb1aa9cb6d782b147bb56686916baa6d1 Mon Sep 17 00:00:00 2001 From: Yggdroot Date: Wed, 23 Jan 2013 14:40:37 +0800 Subject: [PATCH] modify command ResetIndentLines as IndentLinesReset --- after/plugin/indentLine.vim | 8 ++++---- doc/indentLine.txt | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/after/plugin/indentLine.vim b/after/plugin/indentLine.vim index 7a8113a..72db991 100644 --- a/after/plugin/indentLine.vim +++ b/after/plugin/indentLine.vim @@ -1,9 +1,9 @@ " Script Name: indentLine.vim -" Version: 1.0.3 -" Last Change: Dec 25, 2012 +" Version: 1.0.4 +" Last Change: Jan 23, 2013 " Author: Yggdroot " -" Description: To show the indent line +" Description: To show the indent lines if !has("conceal") || exists("g:indentLine_loaded") finish @@ -94,7 +94,7 @@ endfunction autocmd BufWinEnter * call Setup() autocmd BufRead,ColorScheme * call InitColor() -command! -nargs=? ResetIndentLines call ResetWidth() +command! -nargs=? IndentLinesReset call ResetWidth() command! IndentLinesToggle call IndentLinesToggle() " vim:et:ts=4:sw=4:fdm=marker:fmr={{{,}}} diff --git a/doc/indentLine.txt b/doc/indentLine.txt index 789607c..32eb2da 100644 --- a/doc/indentLine.txt +++ b/doc/indentLine.txt @@ -49,10 +49,13 @@ g:indentLine_indentLevel *g:indentLine_indentLevel* ============================================================================== COMMANDS *indentLine-commands* -ResetIndentLines [number] +IndentLinesReset [number] if 'shiftwidth' changes, using this command can redraw the indentLines. number is optional, it means the width between two indent level, if ommited, value of 'shiftwidth' is used. + +IndentLinesToggle + toggle the indent lines of the current buffer. ============================================================================== FAQ *indentLine-faq* @@ -66,5 +69,6 @@ Thanks to the following people for suggestions and patches: NagatoPain Salman Halim +Christophe ============================================================================== vim:tw=78:ts=8:ft=help:norl:noet