parent
221540e0b0
commit
f1ebf51fcb
@ -104,7 +104,7 @@ def GetUnsavedAndCurrentBufferData():
|
|||||||
|
|
||||||
def GetBufferNumberForFilename( filename, open_file_if_needed = True ):
|
def GetBufferNumberForFilename( filename, open_file_if_needed = True ):
|
||||||
return GetIntValue( u"bufnr('{0}', {1})".format(
|
return GetIntValue( u"bufnr('{0}', {1})".format(
|
||||||
os.path.realpath( filename ),
|
EscapeForVim( os.path.realpath( filename ) ),
|
||||||
int( open_file_if_needed ) ) )
|
int( open_file_if_needed ) ) )
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user