config: nvim: configure cmp-path to disable trailing slashes
This commit is contained in:
parent
b56aecc78d
commit
e359380b15
1 changed files with 7 additions and 1 deletions
|
|
@ -65,7 +65,13 @@ cmp.setup.cmdline({ '/', '?' }, {
|
|||
cmp.setup.cmdline(':', {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'path' }
|
||||
{
|
||||
name = 'path',
|
||||
option = {
|
||||
trailing_slash = false,
|
||||
label_trailing_slash = false,
|
||||
}
|
||||
}
|
||||
}, {
|
||||
{ name = 'cmdline' }
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue