# ============================================================================ # FILE: directory_mru.py # AUTHOR: Shougo Matsushita # License: MIT license # ============================================================================ from .base import Base class Source(Base): def __init__(self, vim): Base.__init__(self, vim) self.name = 'directory_mru' self.kind = 'directory' self.default_action = 'cd' def gather_candidates(self, context): return [{'word': x, 'action__path': x} for x in self.vim.call('neomru#_gather_directory_candidates')]