mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-24 05:21:04 +00:00
Disable autocomplete on : commands
This commit is contained in:
parent
cfaf680266
commit
7079893eeb
1 changed files with 10 additions and 8 deletions
|
|
@ -145,14 +145,16 @@ return {
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
|
-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
|
||||||
cmp.setup.cmdline(':', {
|
|
||||||
mapping = cmp.mapping.preset.cmdline(),
|
cmp.setup.cmdline(':', {})
|
||||||
sources = cmp.config.sources({
|
-- cmp.setup.cmdline(':', {
|
||||||
{ name = 'path' }
|
-- mapping = cmp.mapping.preset.cmdline(),
|
||||||
}, {
|
-- sources = cmp.config.sources({
|
||||||
{ name = 'cmdline' }
|
-- { name = 'path' }
|
||||||
})
|
-- }, {
|
||||||
})
|
-- { name = 'cmdline' }
|
||||||
|
-- })
|
||||||
|
-- })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue