update
This commit is contained in:
parent
306b1c188c
commit
1cad7970b4
2 changed files with 9 additions and 1 deletions
|
|
@ -8,6 +8,14 @@ vim.opt.autocompletedelay = 150
|
|||
vim.opt.completeopt = { "menu", "menuone", "noselect", "popup", "fuzzy" }
|
||||
vim.opt.complete = { ".^10", "w^5", "b^5", "u^5" }
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "TelescopePrompt",
|
||||
callback = function(args)
|
||||
vim.bo[args.buf].autocomplete = false
|
||||
end,
|
||||
desc = "Disable native completion in Telescope prompts",
|
||||
})
|
||||
|
||||
vim.keymap.set("i", "<C-Space>", function()
|
||||
vim.lsp.completion.get()
|
||||
end, { desc = "Completion: Trigger LSP suggestions", silent = true })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue