1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/bundle/neomru.vim/rplugin/python3/denite/source/directory_mru.py
2022-02-08 23:29:34 +08:00

22 lines
644 B
Python
Vendored

# ============================================================================
# FILE: directory_mru.py
# AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com>
# 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')]