Rename argument
This commit is contained in:
parent
0babb4b102
commit
8eabf580ad
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user