def gdb_init(self, args): '''Command GdbInit.''' # Prepare configuration: keymaps, hooks, parameters etc. common = BaseCommon(self.vim, self.logger, Config(self)) app = App(common, *args) self.apps[self.vim.current.tabpage.handle] = app app.start()
def __init__(self, vim): """ctor.""" logging.config.dictConfig(LOGGING_CONFIG) common = BaseCommon(vim, None) super().__init__(common) self.apps: Dict[int, App] = {} self.ansi_escaper = re.compile(r'\x1B[@-_][0-?]*[ -/]*[@-~]')
def __init__(self, vim): """ctor.""" logging.config.dictConfig(LOGGING_CONFIG) # self.logger.info("Plugin initialized vim=%x", vim) common = BaseCommon(vim, None) super().__init__(common) self.apps: Dict[int, App] = {} self.ansi_escaper = re.compile(r'\x1B[@-_][0-?]*[ -/]*[@-~]') self.efmmgr = None self.breakpoints = {}
def gdb_init(self, args): """Handle the command GdbInit.""" # Prepare configuration: keymaps, hooks, parameters etc. common = BaseCommon(self.vim, Config(self)) app = App(common, *args) self.apps[self.vim.current.tabpage.handle] = app app.start() if len(self.apps) == 1: # Initialize the UI commands, autocommands etc self.vim.call("nvimgdb#GlobalInit")
def gdb_init(self, args): """Handle the command GdbInit.""" # Prepare configuration: keymaps, hooks, parameters etc. # self.logger.info("***** GdbInit vim=%s", str(vim)) common = BaseCommon(self.vim, Config(self)) if not self.apps: self.efmmgr = EfmMgr(common) app = App(common, self.efmmgr, *args) self.apps[self.vim.current.tabpage.handle] = app app.start() if len(self.apps) == 1: # Initialize the UI commands, autocommands etc self.vim.call("nvimgdb#GlobalInit")
def __init__(self, vim): common = BaseCommon(vim, Logger(), None) super().__init__(common) self.apps = {}
def __init__(self, vim): common = BaseCommon(vim, Logger(), None) super().__init__(common) self.apps = {} self.ansi_escaper = re.compile(r'\x1B[@-_][0-?]*[ -/]*[@-~]')