diff --git a/README.adoc b/README.adoc index fa3e85a..d1e6f06 100644 --- a/README.adoc +++ b/README.adoc @@ -1,4 +1,4 @@ -# Freaky fast fuzzy finder (Denite matcher) for neovim +# Freaky fast fuzzy finder (Denite matcher) for vim/neovim This is a denite.nvim matcher. @@ -42,4 +42,4 @@ it in usual operation (python impl is at 300 - 600μs) ## TODOS -. vim compat +1. Ctrlp compat diff --git a/rplugin/python3/denite/filter/matcher/fruzzymatcher.py b/rplugin/python3/denite/filter/matcher/fruzzymatcher.py index 5be0471..8e243b8 100644 --- a/rplugin/python3/denite/filter/matcher/fruzzymatcher.py +++ b/rplugin/python3/denite/filter/matcher/fruzzymatcher.py @@ -13,7 +13,6 @@ import fruzzy - class Filter(Base): def __init__(self, vim): @@ -22,7 +21,7 @@ def __init__(self, vim): self.name = 'matcher/fruzzy' self.description = 'fruzzy - freakishly fast fuzzy matcher' self.useNative = False - un = self.vim.api.get_var("fruzzy#usenative") + un = self.vim.vars["fruzzy#usenative"] if un > 0: try: import fruzzy_mod