NativeFiletypeCompletionAvailable works again
This commit is contained in:
parent
967a4dd519
commit
bf5708c422
@ -27,7 +27,7 @@ from ycm import vimsupport
|
||||
from ycm import utils
|
||||
from ycm.completers.all.omni_completer import OmniCompleter
|
||||
from ycm.completers.general import syntax_parse
|
||||
from ycm.client.base_request import BaseRequest
|
||||
from ycm.client.base_request import BaseRequest, BuildRequestData
|
||||
from ycm.client.command_request import SendCommandRequest
|
||||
from ycm.client.completion_request import CompletionRequest
|
||||
from ycm.client.event_notification import SendEventNotificationAsync
|
||||
@ -103,7 +103,10 @@ class YouCompleteMe( object ):
|
||||
|
||||
|
||||
def NativeFiletypeCompletionAvailable( self ):
|
||||
# TODO: Talk to server about this.
|
||||
try:
|
||||
return BaseRequest.PostDataToHandler( BuildRequestData(),
|
||||
'filetype_completion_available')
|
||||
except:
|
||||
return False
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user