From 4b6c04c74b55f6ef5a7ef16812244e611898de66 Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Fri, 24 Apr 2026 15:05:07 +0200 Subject: [PATCH] integrat cop[ilot code suggestions to mzansivim --- README.md | 9 +++++++++ lazy-lock.json | 1 + lua/plugins/copilot.lua | 4 ++++ 3 files changed, 14 insertions(+) create mode 100644 lua/plugins/copilot.lua diff --git a/README.md b/README.md index 44eb911..56c81a0 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,15 @@ The **Leader Key** is set to `Space`. | **Toggle Logs** | `:FLogs` | Open or close the Flutter Dev Log split. | | **Clear Logs** | `:FLogsClear` | Clear the current Flutter Dev Log buffer. | +### Copilot Code Completion +| Action | Keybinding | Description | +| :--- | :--- | :--- | +| **:Setup Copilot** | `:Copilot setup` | Authenticate and enable GitHub Copilot (disable cmd popups before proceeding with setup). | +| **:Enable Copilot** | `:Copilot enable` | Enable GitHub Copilot after :Copilot disable. | +| **:Disable Copilot** | `:Copilot disable` | Disable GitHub Copilot inline suggestions. | +| **:Check Status of Copilot** | `:Copilot status` | Check if GitHub Copilot is operational and report on any issues. | +| **:Signout of Copilot** | `:Copilot signout` | Sign out of GitHub Copilot. | + ### Diagnostics (Errors & Warnings) | Action | Keybinding | Description | | :--- | :--- | :--- | diff --git a/lazy-lock.json b/lazy-lock.json index d411e74..a40098d 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -6,6 +6,7 @@ "cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" }, "cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" }, "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, + "copilot.vim": { "branch": "release", "commit": "a12fd5672110c8aa7e3c8419e28c96943ca179be" }, "dashboard-nvim": { "branch": "master", "commit": "f787e3462c2ee2b6117b17c1aa4ddf66cb6f57fe" }, "dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" }, "flutter-tools.nvim": { "branch": "main", "commit": "677cc07c16e8b89999108d2ebeefcfc5f539b73c" }, diff --git a/lua/plugins/copilot.lua b/lua/plugins/copilot.lua new file mode 100644 index 0000000..27c0ef6 --- /dev/null +++ b/lua/plugins/copilot.lua @@ -0,0 +1,4 @@ +return { + "github/copilot.vim", + lazy = false, +}