<s> import neovim <EOL> from deoplete import logger <EOL> from deoplete . deoplete import Deoplete <EOL> @ neovim . plugin <EOL> class DeopleteHandlers ( object ) : <EOL> def __init__ ( self , vim ) : <EOL> self . __vim = vim <EOL> @ neovim . function ( '<STR_LIT>' , sync = True ) <EOL> def init_python ( self , args ) : <EOL> self . __deoplete = Deoplete ( self . __vim ) <EOL> self . __vim . vars [ '<STR_LIT>' ] = self . __vim . channel_id <EOL> @ neovim . rpc_export ( '<STR_LIT>' , sync = True ) <EOL> def enable_logging ( self , level , logfile ) : <EOL> logger . setup ( self . __vim , level , logfile ) <EOL> self . __deoplete . debug_enabled = True <EOL> @ neovim . rpc_export ( '<STR_LIT>' ) <EOL> def completion_begin ( self , context ) : <EOL> context [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> self . __deoplete . completion_begin ( context ) <EOL> @ neovim . rpc_export ( '<STR_LIT>' , sync = True ) <EOL> def manual_completion_begin ( self , context ) : <EOL> context [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> self . __deoplete . completion_begin ( context ) <EOL> @ neovim . rpc_export ( '<STR_LIT>' ) <EOL> def on_buffer ( self , context ) : <EOL> context [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> self . __deoplete . on_buffer ( context ) </s>
