Selaa lähdekoodia

Code typo fix

Strahinja Val Markovic 11 vuotta sitten
vanhempi
commit
b6c311c4dd
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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' ):
   if hasattr( buffer_object, 'options' ):
     return buffer_object.options[ option ]
     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 )
   return GetVariableValue( to_eval )