def __init__(self, vim): super().__init__(vim) self.name = "LanguageClient" self.mark = "[LC]" self.rank = 1000 self.filetypes = state["serverCommands"].keys() self.min_pattern_length = 1 self.input_pattern = r'(\.|::)\w*' logger.info("deoplete LanguageClientSource initialized.")
def __init__(self, vim): super().__init__(vim) self.name = 'LanguageClient' self.mark = '[LC]' self.rank = 1000 self.filetypes = LanguageClient._instance.serverCommands.keys() self.min_pattern_length = 1 self.input_pattern = r'(\.|::)\w*' self.__results = {} self.__errors = {} logger.info("deoplete LanguageClientSource initialized.")