From 4ebaaec2b7635e32f78562dc2dbfdd0c66902b17 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Sat, 21 Feb 2026 13:58:27 +0100 Subject: neovim: Keymaps und bessere Konfiguration für Copilot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/lua/plugins/copilot.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'nvim/lua/plugins/copilot.lua') diff --git a/nvim/lua/plugins/copilot.lua b/nvim/lua/plugins/copilot.lua index 392e831..8f0bd52 100644 --- a/nvim/lua/plugins/copilot.lua +++ b/nvim/lua/plugins/copilot.lua @@ -3,7 +3,9 @@ return { -- enabled = false, event = "InsertEnter", - config = function() + init = function() + -- vim.g.copilot_no_tab_map = true + vim.g.copilot_filetypes = { ["*"] = false, -- Standardmäßig aus, ... @@ -21,7 +23,8 @@ return { css = true, markdown = true, } - + end, + config = function() local keymaps = require("config.keymaps") keymaps.copilot() end, -- cgit v1.3