Very minor typographical changes (NFC)
This commit is contained in:
parent
b9aa20821f
commit
4e95e5d406
@ -123,15 +123,15 @@ class YouCompleteMe( object ):
|
|||||||
self._filetypes_with_keywords_loaded = set()
|
self._filetypes_with_keywords_loaded = set()
|
||||||
self._ycmd_keepalive = YcmdKeepalive()
|
self._ycmd_keepalive = YcmdKeepalive()
|
||||||
self._server_is_ready_with_cache = False
|
self._server_is_ready_with_cache = False
|
||||||
self._SetupLogging()
|
self._SetUpLogging()
|
||||||
self._SetupServer()
|
self._SetUpServer()
|
||||||
self._ycmd_keepalive.Start()
|
self._ycmd_keepalive.Start()
|
||||||
self._complete_done_hooks = {
|
self._complete_done_hooks = {
|
||||||
'cs': lambda self: self._OnCompleteDone_Csharp()
|
'cs': lambda self: self._OnCompleteDone_Csharp()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def _SetupServer( self ):
|
def _SetUpServer( self ):
|
||||||
self._available_completers = {}
|
self._available_completers = {}
|
||||||
self._user_notified_about_crash = False
|
self._user_notified_about_crash = False
|
||||||
self._filetypes_with_keywords_loaded = set()
|
self._filetypes_with_keywords_loaded = set()
|
||||||
@ -186,7 +186,7 @@ class YouCompleteMe( object ):
|
|||||||
stdout = PIPE, stderr = PIPE )
|
stdout = PIPE, stderr = PIPE )
|
||||||
|
|
||||||
|
|
||||||
def _SetupLogging( self ):
|
def _SetUpLogging( self ):
|
||||||
def FreeFileFromOtherProcesses( file_object ):
|
def FreeFileFromOtherProcesses( file_object ):
|
||||||
if utils.OnWindows():
|
if utils.OnWindows():
|
||||||
from ctypes import windll
|
from ctypes import windll
|
||||||
@ -283,7 +283,7 @@ class YouCompleteMe( object ):
|
|||||||
def RestartServer( self ):
|
def RestartServer( self ):
|
||||||
vimsupport.PostVimMessage( 'Restarting ycmd server...' )
|
vimsupport.PostVimMessage( 'Restarting ycmd server...' )
|
||||||
self._ShutdownServer()
|
self._ShutdownServer()
|
||||||
self._SetupServer()
|
self._SetUpServer()
|
||||||
|
|
||||||
|
|
||||||
def SendCompletionRequest( self, force_semantic = False ):
|
def SendCompletionRequest( self, force_semantic = False ):
|
||||||
|
Loading…
Reference in New Issue
Block a user