From 23cc6a0cc25544fa8b193ba2b38873dc1c3bdcc8 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Tue, 6 Jan 2026 09:50:21 +0100 Subject: Alte Neovim- und Tmuxp-Konfigurationen entfernt --- nvim_alt/completion.lua | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 nvim_alt/completion.lua (limited to 'nvim_alt/completion.lua') diff --git a/nvim_alt/completion.lua b/nvim_alt/completion.lua deleted file mode 100644 index 747607e..0000000 --- a/nvim_alt/completion.lua +++ /dev/null @@ -1,21 +0,0 @@ -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 not client:supports_method('textDocument/willSaveWaitUntil') and - client:supports_method('textDocument/formatting') then - vim.api.nvim_create_autocmd('BufWritePre', { - group = vim.api.nvim_create_augroup('my.lsp', { clear = false }), - buffer = ev.buf, - callback = function() - vim.lsp.buf.format({ bufnr = ev.buf, id = client.id, timeout_ms = 1000 }) - end, - }) - end - end, -}) - -vim.o.winborder = 'rounded' -- cgit v1.3