README update: minor typo, fzf minimum version clarification

main
OKURA Masafumi 2 years ago committed by bhagwan
parent d4ab66551b
commit d4c050e101

@ -48,12 +48,16 @@ at it. That, **and colorful file icons and git indicators!**.
## Dependencies ## Dependencies
- `Linux` or `MacOS` - `Linux` or `MacOS`
- [`neovim`](https://github.com/neovim/neovim/releases) version > 0.5.0 - [`neovim`](https://github.com/neovim/neovim/releases) version > `0.5.0`
- [`fzf`](https://github.com/junegunn/fzf) version > 0.24.0 **or** - [`fzf`](https://github.com/junegunn/fzf) version > `0.27` (see note below)
[`skim`](https://github.com/lotabout/skim) binary installed **or** [`skim`](https://github.com/lotabout/skim) binary installed
- [nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons) - [nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons)
(optional) (optional)
> `fzf` version > `0.27` is recommended but it's still possible to use `fzf`
> version > `0.24` by setting `fzf_opts = { ['--border'] = false }`, see
> [Customization](#customization).
### Optional dependencies ### Optional dependencies
- [fd](https://github.com/sharkdp/fd) - better `find` utility - [fd](https://github.com/sharkdp/fd) - better `find` utility
@ -246,7 +250,7 @@ vim.api.nvim_set_keymap('n', '<c-P>',
I tried to make it as customizable as possible, if you find you need to change something that isnt below, open an issue and Ill do my best to add it. I tried to make it as customizable as possible, if you find you need to change something that isnt below, open an issue and Ill do my best to add it.
customization can be achieved by calling the `setup()` function or individually sending parameters to a builtin command, for exmaple: customization can be achieved by calling the `setup()` function or individually sending parameters to a builtin command, for example:
```lua ```lua
:lua require('fzf-lua').files({ fzf_opts = {['--layout'] = 'reverse-list'} }) :lua require('fzf-lua').files({ fzf_opts = {['--layout'] = 'reverse-list'} })
``` ```

@ -60,11 +60,15 @@ DEPENDENCIES *fzf-lua-dependencies*
- `Linux` or `MacOS` - `Linux` or `MacOS`
- `neovim` <https://github.com/neovim/neovim/releases> version > 0.5.0 - `neovim` <https://github.com/neovim/neovim/releases> version > `0.5.0`
- `fzf` <https://github.com/junegunn/fzf> version > 0.24.0 **or** `skim` - `fzf` <https://github.com/junegunn/fzf> version > `0.27` (see note below)
<https://github.com/lotabout/skim> binary installed **or** `skim` <https://github.com/lotabout/skim> binary installed
- nvim-web-devicons <https://github.com/kyazdani42/nvim-web-devicons> - nvim-web-devicons <https://github.com/kyazdani42/nvim-web-devicons>
(optional) (optional)
`fzf` version > `0.27` is recommended but it's still possible to use `fzf`
version > `0.24` by setting `fzf_opts = { ['--border'] = false }`, see
Customization <#customization>.
OPTIONAL DEPENDENCIES *fzf-lua-optional-dependencies* OPTIONAL DEPENDENCIES *fzf-lua-optional-dependencies*
@ -290,7 +294,7 @@ I tried to make it as customizable as possible, if you find you need to change
something that isnt below, open an issue and Ill do my best to add it. something that isnt below, open an issue and Ill do my best to add it.
customization can be achieved by calling the `setup()` function or customization can be achieved by calling the `setup()` function or
individually sending parameters to a builtin command, for exmaple: individually sending parameters to a builtin command, for example:
> >
:lua require('fzf-lua').files({ fzf_opts = {['--layout'] = 'reverse-list'} }) :lua require('fzf-lua').files({ fzf_opts = {['--layout'] = 'reverse-list'} })

Loading…
Cancel
Save