-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|