Exemple #1
0
 def mapvimfn(self, key, fn):
     self.map(key, lambda: Vim.eval(f'function("{fn}")()'))
Exemple #2
0
 def RegisterHookerVimFn(self, hooker, fn):
     self.Hookers[hooker].append(
         lambda api: Vim.eval(f'function("{fn}")()'))