reverted back to the GetBufferOption

This commit is contained in:
Davit Samvelyan 2014-03-23 12:33:27 +04:00
parent b9109af709
commit b4b94429dd

View File

@ -72,7 +72,7 @@ def GetBufferOption( buffer_object, option ):
def BufferModified( buffer_object ): def BufferModified( buffer_object ):
return buffer_object.options[ 'mod' ] return bool( int( GetBufferOption( buffer_object, 'mod' ) ) )
def GetUnsavedAndCurrentBufferData(): def GetUnsavedAndCurrentBufferData():
@ -240,7 +240,7 @@ def VimExpressionToPythonType( vim_expression ):
def HiddenEnabled( buffer_object ): def HiddenEnabled( buffer_object ):
return vim.options[ 'hid' ] return bool( int( GetBufferOption( buffer_object, 'hid' ) ) )
def BufferIsUsable( buffer_object ): def BufferIsUsable( buffer_object ):