Rename argument

This commit is contained in:
dhleong 2016-11-03 13:47:26 -04:00
parent 0babb4b102
commit 8eabf580ad

View File

@ -863,9 +863,9 @@ def SearchInCurrentBuffer( pattern ):
return GetIntValue( "search('{0}', 'Wcnb')".format( EscapeForVim( pattern )))
def LineTextInCurrentBuffer( line ):
def LineTextInCurrentBuffer( line_number ):
""" Returns the text on the 1-indexed line (NOT 0-indexed) """
return vim.current.buffer[ line - 1 ]
return vim.current.buffer[ line_number - 1 ]
def ClosePreviewWindow():