Explorar o código

Code typo fix

Strahinja Val Markovic %!s(int64=11) %!d(string=hai) anos
pai
achega
b6c311c4dd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      python/ycm/vimsupport.py

+ 1 - 1
python/ycm/vimsupport.py

@@ -53,7 +53,7 @@ def GetBufferOption( buffer_object, option ):
   if hasattr( buffer_object, 'options' ):
     return buffer_object.options[ option ]
 
-  to_eval = 'getbufvar({0}, "&{1}")'.format( buffer.number, option )
+  to_eval = 'getbufvar({0}, "&{1}")'.format( buffer_object.number, option )
   return GetVariableValue( to_eval )