Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
raghur committed Sep 27, 2018
1 parent 469fe71 commit b8c4886
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Freaky fast fuzzy finder (Denite matcher)

This is a denite.nvim matcher.

## Installation

`Plug 'raghur/fruzzy'`

## Configuration

`let fruzzy#usenative = 1`

## Native modules

Native module gives a 10 - 15x speedup over python - ~40-60μs!

. Download and copy to `rplugin/python3`
. Prebuilt windows and linux modules coming soon


## Development

.Running tests
. Clone
. cd `rplugin/python3`
. `pytest` - run tests with python implementation
. `FUZZY_CMOD=1 pytest` - run tests with native module

.Build native module
. install nim devel (0.18 and 0.18.1 will not work)
. [Windows] `nim c --app:lib --out:fruzzy_mod.pyd -d:release -d:removelogger fruzzy_mod`
. [Linux] `nim c --app:lib --out:fruzzy_mod.so -d:release -d:removelogger fruzzy_mod`
. `-d:removelogger`
- removes all log statements from code.
- Without this symbol defined, you will get info level logging.
- If you remove `-d:release` you will also get debug level logging

0 comments on commit b8c4886

Please sign in to comment.