mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-08 21:14:45 +08:00
modify command ResetIndentLines as IndentLinesReset
This commit is contained in:
@@ -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 <archofortune@gmail.com>
|
||||
"
|
||||
" 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 <SID>Setup()
|
||||
autocmd BufRead,ColorScheme * call <SID>InitColor()
|
||||
|
||||
command! -nargs=? ResetIndentLines call <SID>ResetWidth(<f-args>)
|
||||
command! -nargs=? IndentLinesReset call <SID>ResetWidth(<f-args>)
|
||||
command! IndentLinesToggle call <SID>IndentLinesToggle()
|
||||
|
||||
" vim:et:ts=4:sw=4:fdm=marker:fmr={{{,}}}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user