diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2024-07-13 11:28:51 +0530 |
---|---|---|
committer | Brahmajit Das <brahmajit.xyz@gmail.com> | 2024-07-13 11:28:51 +0530 |
commit | 721e345ecedc54042f54a9eaa9950161e91cdb87 (patch) | |
tree | 5d236f93072c37406cfd9cf42d324748aba19715 | |
parent | a2e2a1b391b414e3b765cba1262fa72c0601e801 (diff) |
nvim: lua: completion: enable completion for path and commandline
-rw-r--r-- | lua/plugins/completion.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins/completion.lua b/lua/plugins/completion.lua index b6e34fd..42b1e7c 100644 --- a/lua/plugins/completion.lua +++ b/lua/plugins/completion.lua @@ -118,7 +118,7 @@ require 'cmp'.setup.cmdline('/', { -- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore). cmp.setup.cmdline(':', { - completion = { autocomplete = false }, + mapping = cmp.mapping.preset.cmdline(), sources = cmp.config.sources({ { name = 'path' } }, { |