Removed unused function, added comment.
This commit is contained in:
parent
3a690fc8d4
commit
b6bbe6388f
@ -27,6 +27,10 @@ from ycm.client.event_notification import EventNotification
|
|||||||
from ycm.diagnostic_interface import DiagnosticInterface
|
from ycm.diagnostic_interface import DiagnosticInterface
|
||||||
|
|
||||||
|
|
||||||
|
# Emulates Vim buffer
|
||||||
|
# Used to store buffer related information like diagnostics, latest parse
|
||||||
|
# request. Stores buffer change tick at the parse request moment, allowing
|
||||||
|
# to effectively determine whether reparse is needed for the buffer.
|
||||||
class Buffer( object ):
|
class Buffer( object ):
|
||||||
|
|
||||||
def __init__( self, bufnr, user_options ):
|
def __init__( self, bufnr, user_options ):
|
||||||
|
@ -253,10 +253,6 @@ class VimBuffer( object ):
|
|||||||
return [ ToUnicode( x ) for x in self.contents ]
|
return [ ToUnicode( x ) for x in self.contents ]
|
||||||
|
|
||||||
|
|
||||||
def EmulateCurrentBufferChange():
|
|
||||||
VIM_MOCK.current.buffer.changedtick += 1
|
|
||||||
|
|
||||||
|
|
||||||
class VimMatch( object ):
|
class VimMatch( object ):
|
||||||
|
|
||||||
def __init__( self, group, pattern ):
|
def __init__( self, group, pattern ):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user