From 99f174a953d7a454bea2e44fc1ee8db26a422ee4 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Tue, 18 Nov 2025 17:49:34 +0100 Subject: nerviges Autocomplete wieder ausgeschaltet --- nvim/completion.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nvim/completion.lua b/nvim/completion.lua index 4b7f335..747607e 100644 --- a/nvim/completion.lua +++ b/nvim/completion.lua @@ -1,9 +1,9 @@ vim.api.nvim_create_autocmd("LspAttach", { callback = function(ev) local client = vim.lsp.get_client_by_id(ev.data.client_id) - if client and client:supports_method("textDocument/completion") then - vim.lsp.completion.enable(true, client.id, ev.buf, { autotrigger = true }) - end + -- if client and client:supports_method("textDocument/completion") then + -- vim.lsp.completion.enable(true, client.id, ev.buf, { autotrigger = true }) + -- end if client and not client:supports_method('textDocument/willSaveWaitUntil') and client:supports_method('textDocument/formatting') then -- cgit v1.3