mirror of
https://codeberg.org/FelipeLema/cmp-async-path
synced 2025-05-11 04:08:42 +00:00
update docs
This commit is contained in:
parent
366aa70a3d
commit
d8229a93d7
10
README.md
10
README.md
@ -1,13 +1,15 @@
|
|||||||
# cmp-path
|
# cmp-async-path
|
||||||
|
|
||||||
nvim-cmp source for filesystem paths.
|
nvim-cmp source for filesystem paths with async processing (neovim won't block while reading from disk).
|
||||||
|
|
||||||
|
forked from https://github.com/hrsh7th/cmp-path/
|
||||||
|
|
||||||
# Setup
|
# Setup
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
require'cmp'.setup {
|
require'cmp'.setup {
|
||||||
sources = {
|
sources = {
|
||||||
{ name = 'path' }
|
{ name = 'async_path' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -21,7 +23,7 @@ The below source configuration options are available. To set any of these option
|
|||||||
cmp.setup({
|
cmp.setup({
|
||||||
sources = {
|
sources = {
|
||||||
{
|
{
|
||||||
name = 'path',
|
name = 'async_path',
|
||||||
option = {
|
option = {
|
||||||
-- Options go into this table
|
-- Options go into this table
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user