Regenerate nvim config
This commit is contained in:
54
config/neovim/store/lazy-plugins/cmp-async-path/README.md
Normal file
54
config/neovim/store/lazy-plugins/cmp-async-path/README.md
Normal file
@ -0,0 +1,54 @@
|
||||
https://codeberg.org/FelipeLema/cmp-async-path
|
||||
|
||||
# cmp-async-path
|
||||
|
||||
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
|
||||
|
||||
```lua
|
||||
require'cmp'.setup {
|
||||
sources = {
|
||||
{ name = 'async_path' }
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Configuration
|
||||
|
||||
The below source configuration options are available. To set any of these options, do:
|
||||
|
||||
```lua
|
||||
cmp.setup({
|
||||
sources = {
|
||||
{
|
||||
name = 'async_path',
|
||||
option = {
|
||||
-- Options go into this table
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
### trailing_slash (type: boolean)
|
||||
|
||||
_Default:_ `false`
|
||||
|
||||
Specify if completed directory names should include a trailing slash. Enabling this option makes this source behave like Vim's built-in path completion.
|
||||
|
||||
### label_trailing_slash (type: boolean)
|
||||
|
||||
_Default:_ `true`
|
||||
|
||||
Specify if directory names in the completion menu should include a trailing slash.
|
||||
|
||||
### get_cwd (type: function)
|
||||
|
||||
_Default:_ returns the current working directory of the current buffer
|
||||
|
||||
Specifies the base directory for relative paths.
|
||||
Reference in New Issue
Block a user