Skip to content

Commit

Permalink
docs: use markdown note blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed Dec 9, 2024
1 parent 498459c commit 8876868
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ with the default keybinds below):
```sh
sh -c "$(curl -s https://raw.githubusercontent.com/ibhagwan/fzf-lua/main/scripts/mini.sh)"
```
> **Note:** it's good practice to first
> [!NOTE]
> it's good practice to first
> [read the script](https://github.com/ibhagwan/fzf-lua/blob/main/scripts/mini.sh)
> before running `sh -c` directly from the web
Expand Down Expand Up @@ -191,8 +192,9 @@ Using [lazy.nvim](https://github.com/folke/lazy.nvim)
end
}
```
> **Note:** if you already have fzf installed you do not need to install `fzf`
> or `fzf.vim`, however if you do not have it installed, **you only need** fzf
> [!NOTE]
> if you already have fzf installed you do not need to install `fzf` or
> `fzf.vim`, however if you do not have it installed, **you only need** fzf
> which can be installed with (fzf.vim is not a requirement nor conflict):
> ```vim
> Plug "junegunn/fzf", { "do": { -> fzf#install() } }
Expand Down Expand Up @@ -467,7 +469,8 @@ of the table sent to the `setup` function:
```lua
require('fzf-lua').setup({'fzf-native'})
```
> **Note:** `setup` can be called multiple times for profile "live" switching
> [!NOTE]
> `setup` can be called multiple times for profile "live" switching
You can also start with a profile as "baseline" and customize it, for example,
telescope defaults with `bat` previewer:
Expand Down Expand Up @@ -509,7 +512,8 @@ vim.keymap.set({ "i" }, "<C-x><C-f>",
})
end, { silent = true, desc = "Fuzzy complete file" })
```
> **Note:** only `complete_file` supports a previewer
> [!NOTE]
> only `complete_file` supports a previewer
#### Custom Completion

Expand Down

0 comments on commit 8876868

Please sign in to comment.