From 780563cbe7114743f020522ca4fdb73774c5b9a2 Mon Sep 17 00:00:00 2001 From: dlond Date: Wed, 27 Aug 2025 14:44:03 +1200 Subject: [PATCH] Integrate Copilot with Blink.cmp - Switch from copilot.vim to zbirenbaum/copilot.lua - Add blink-cmp-copilot for completion integration - Configure Blink to show Copilot in completion menu - Fix plugin import issues Testing in progress - can be reverted if needed --- .envrc | 10 ---------- lua/custom/plugins/blink.lua | 0 lua/custom/plugins/copilot.lua | 0 3 files changed, 10 deletions(-) create mode 100644 lua/custom/plugins/blink.lua create mode 100644 lua/custom/plugins/copilot.lua diff --git a/.envrc b/.envrc index a87ac425..281accf5 100644 --- a/.envrc +++ b/.envrc @@ -1,11 +1 @@ export PROJECT=$(basename $(pwd)) - -# Get the git project root -export PROJECT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd) - -# Set Lua paths for Neovim to find our modules -export LUA_PATH="$PROJECT_ROOT/lua/?.lua;$PROJECT_ROOT/lua/?/init.lua;;" -export LUA_CPATH="$PROJECT_ROOT/lua/?.so;;" - -# Optional: Set NVIM_APPNAME for isolated testing -export NVIM_APPNAME="nvim-$PROJECT" \ No newline at end of file diff --git a/lua/custom/plugins/blink.lua b/lua/custom/plugins/blink.lua new file mode 100644 index 00000000..e69de29b diff --git a/lua/custom/plugins/copilot.lua b/lua/custom/plugins/copilot.lua new file mode 100644 index 00000000..e69de29b