mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-07 12:44:27 +08:00
modify command ResetIndentLines as IndentLinesReset
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
" Script Name: indentLine.vim
|
" Script Name: indentLine.vim
|
||||||
" Version: 1.0.3
|
" Version: 1.0.4
|
||||||
" Last Change: Dec 25, 2012
|
" Last Change: Jan 23, 2013
|
||||||
" Author: Yggdroot <archofortune@gmail.com>
|
" Author: Yggdroot <archofortune@gmail.com>
|
||||||
"
|
"
|
||||||
" Description: To show the indent line
|
" Description: To show the indent lines
|
||||||
|
|
||||||
if !has("conceal") || exists("g:indentLine_loaded")
|
if !has("conceal") || exists("g:indentLine_loaded")
|
||||||
finish
|
finish
|
||||||
@@ -94,7 +94,7 @@ endfunction
|
|||||||
autocmd BufWinEnter * call <SID>Setup()
|
autocmd BufWinEnter * call <SID>Setup()
|
||||||
autocmd BufRead,ColorScheme * call <SID>InitColor()
|
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()
|
command! IndentLinesToggle call <SID>IndentLinesToggle()
|
||||||
|
|
||||||
" vim:et:ts=4:sw=4:fdm=marker:fmr={{{,}}}
|
" vim:et:ts=4:sw=4:fdm=marker:fmr={{{,}}}
|
||||||
|
|||||||
@@ -49,10 +49,13 @@ g:indentLine_indentLevel *g:indentLine_indentLevel*
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
COMMANDS *indentLine-commands*
|
COMMANDS *indentLine-commands*
|
||||||
|
|
||||||
ResetIndentLines [number]
|
IndentLinesReset [number]
|
||||||
if 'shiftwidth' changes, using this command can redraw the
|
if 'shiftwidth' changes, using this command can redraw the
|
||||||
indentLines. number is optional, it means the width between
|
indentLines. number is optional, it means the width between
|
||||||
two indent level, if ommited, value of 'shiftwidth' is used.
|
two indent level, if ommited, value of 'shiftwidth' is used.
|
||||||
|
|
||||||
|
IndentLinesToggle
|
||||||
|
toggle the indent lines of the current buffer.
|
||||||
==============================================================================
|
==============================================================================
|
||||||
FAQ *indentLine-faq*
|
FAQ *indentLine-faq*
|
||||||
|
|
||||||
@@ -66,5 +69,6 @@ Thanks to the following people for suggestions and patches:
|
|||||||
|
|
||||||
NagatoPain
|
NagatoPain
|
||||||
Salman Halim
|
Salman Halim
|
||||||
|
Christophe
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:ts=8:ft=help:norl:noet
|
vim:tw=78:ts=8:ft=help:norl:noet
|
||||||
|
|||||||
Reference in New Issue
Block a user