diff options
author | Konrad Malik <konrad.malik@gmail.com> | 2025-01-20 15:10:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-20 06:10:00 -0800 |
commit | ded15ca8c210965442d39ab214d4838b80a3fdc6 (patch) | |
tree | 7677d698bdc608234abab8700552fca40ccd6b64 /runtime/lua/vim/keymap.lua | |
parent | 8a236c242a76825a6a9266feda45794c7328c807 (diff) | |
download | rneovim-ded15ca8c210965442d39ab214d4838b80a3fdc6.tar.gz rneovim-ded15ca8c210965442d39ab214d4838b80a3fdc6.tar.bz2 rneovim-ded15ca8c210965442d39ab214d4838b80a3fdc6.zip |
fix: completion.enable(false,...) deletes invalid augroup #32121
Problem:
vim.lsp.completion.enable(true, client.id, bufnr)
vim.lsp.completion.enable(false, client.id, bufnr)
Error detected while processing LspDetach Autocommands for "*":
Error executing lua callback: …/lsp/completion.lua:701: Vim:E367: No such group: "vim/lsp/completion-22"
stack traceback:
[C]: in function 'nvim_del_augroup_by_name'
…/lsp/completion.lua:701: in function 'disable_completions'
…/lsp/completion.lua:724: in function 'enable'
Solution:
Delete the correct augroup.
Diffstat (limited to 'runtime/lua/vim/keymap.lua')
0 files changed, 0 insertions, 0 deletions