Permalink
Browse files

Add file_mru source

  • Loading branch information...
1 parent e86ebb0 commit 46629d6aa2c9510b05eaa27260b533292966fe54 @Shougo committed Aug 28, 2016
Showing with 21 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +20 −0 rplugin/python3/denite/source/file_mru.py
View
@@ -1 +1,2 @@
/doc/tags
+*.py[cod]
@@ -0,0 +1,20 @@
+# ============================================================================
+# FILE: file_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 = 'file_mru'
+ self.kind = 'jump_list'
+
+ def gather_candidates(self, context):
+ return self.vim.eval('neomru#_get_mrus().file.'
+ +'gather_candidates([], {"is_redraw": 0})')

0 comments on commit 46629d6

Please sign in to comment.