From a4df607d44e52f4e5fb6e3a822011400115becc7 Mon Sep 17 00:00:00 2001 From: Zeioth Date: Thu, 8 May 2025 14:18:57 +0200 Subject: [PATCH 1/3] cleanup: unnecesary duped line removed. --- lua/plugins/3-dev-core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/3-dev-core.lua b/lua/plugins/3-dev-core.lua index 8f9b967a..d20fe1ee 100644 --- a/lua/plugins/3-dev-core.lua +++ b/lua/plugins/3-dev-core.lua @@ -441,7 +441,7 @@ return { { path = "nvim-dap-ui", mods = { "dapui" } }, { path = "cmp-dap", mods = { "cmp_dap" } }, { path = "mason-nvim-dap.nvim", mods = { "mason-nvim-dap" } }, - { path = "mason.nvim", mods = { "mason", "mason-core", "mason-registry", "mason-test", "mason-vendor" } }, + { path = "one-small-step-for-vimkind", mods = { "osv" } }, { path = "neotest-dart", mods = { "neotest-dart" } }, { path = "neotest-dotnet", mods = { "neotest-dotnet" } }, From 74fd4234bdfc08dae853dc9833431beeae9bf98b Mon Sep 17 00:00:00 2001 From: Zeioth Date: Tue, 24 Jun 2025 13:02:09 +0200 Subject: [PATCH 2/3] chore(plugin versions): updated. --- lua/lazy_snapshot.lua | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/lua/lazy_snapshot.lua b/lua/lazy_snapshot.lua index 27e7505b..6dceab42 100644 --- a/lua/lazy_snapshot.lua +++ b/lua/lazy_snapshot.lua @@ -10,8 +10,8 @@ return { { "NMAC427/guess-indent.nvim", version = "^1" }, { "Shatur/neovim-session-manager", version = "^1" }, { "akinsho/toggleterm.nvim", version = "^3" }, - { "andymass/vim-matchup", commit = "ea2ff43e09e68b63fc6d9268fc5d82d82d433cb3" }, - { "b0o/SchemaStore.nvim", commit = "992285058ce208825eb1b9ac82fa6be7d76ffcc1" }, + { "andymass/vim-matchup", commit = "c478d4a72bbf397eff42743198f1939f6a264736" }, + { "b0o/SchemaStore.nvim", commit = "45fd6c22f30487586c771072dc8c5230931e4c7b" }, { "benfowler/telescope-luasnip.nvim", version = "^1" }, { "brenoprata10/nvim-highlight-colors", version = "^1" }, { "cappyzawa/trim.nvim", commit = "d0760a840ca2fe4958353dee567a90c2994e70a7" }, @@ -44,12 +44,15 @@ return { { "ldelossa/litee.nvim", commit = "4efaf373322d9e71eaff31164abb393417cc6f6a" }, { "lewis6991/gitsigns.nvim", version = "^1" }, { "ludovicchabant/vim-gutentags", commit = "aa47c5e29c37c52176c44e61c780032dfacef3dd" }, + { "mason-org/mason-lspconfig.nvim", version = "^2" }, + { "mason-org/mason.nvim", version = "^2" }, { "mfussenegger/nvim-dap", version = "^1" }, { "mikavilpas/yazi.nvim", version = "^8" }, { "mrjones2014/smart-splits.nvim", version = "^1" }, { "neovim/nvim-lspconfig", version = "^0.2" }, { "nvim-cmp", commit = "b5311ab3ed9c846b585c0c15b7559be131ec4be9" }, { "nvim-java/lua-async-await", commit = "652d94df34e97abe2d4a689edbc4270e7ead1a98" }, + { "nvim-java/nvim-java", commit = "2662be0ab5d3b1c1b0807a7b3fa4fbc7abf4ecb0" }, { "nvim-java/nvim-java-core", commit = "401bf7683012a25929a359deec418f36beb876e2" }, { "nvim-java/nvim-java-dap", commit = "55f239532f7a3789d21ea68d1e795abc77484974" }, { "nvim-java/nvim-java-refactor", commit = "b51a57d862338999059e1d1717df3bc80a3a15c0" }, @@ -60,13 +63,13 @@ return { { "nvim-neotest/neotest-jest", commit = "514fd4eae7da15fd409133086bb8e029b65ac43f" }, { "nvim-neotest/neotest-python", commit = "a2861ab3c9a0bf75a56b11835c2bfc8270f5be7e" }, { "nvim-neotest/nvim-nio", commit = "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, - { "nvim-pack/nvim-spectre", commit = "c4abcde7b56574c2dfb7d0137b2481c5b2154372" }, + { "nvim-pack/nvim-spectre", commit = "72f56f7585903cd7bf92c665351aa585e150af0f" }, { "nvim-telescope/telescope-fzf-native.nvim", commit = "1f08ed60cafc8f6168b72b80be2b2ea149813e55" }, - { "nvim-telescope/telescope.nvim", commit = "a4ed82509cecc56df1c7138920a1aeaf246c0ac5" }, - { "nvim-tree/nvim-web-devicons", commit = "c90dee4e930ab9f49fa6d77f289bff335b49e972" }, - { "nvim-treesitter/nvim-treesitter", commit = "684eeac91ed8e297685a97ef70031d19ac1de25a" }, - { "nvim-treesitter/nvim-treesitter-textobjects", commit = "205e3369bc83d8cb83f7409c36120e24611f8c5c" }, - { "nvimtools/none-ls.nvim", commit = "fb50cf17e926a037c9f8d96d8db29ddbd04965d4" }, + { "nvim-telescope/telescope.nvim", commit = "b4da76be54691e854d3e0e02c36b0245f945c2c7" }, + { "nvim-tree/nvim-web-devicons", commit = "1fb58cca9aebbc4fd32b086cb413548ce132c127" }, + { "nvim-treesitter/nvim-treesitter", commit = "42fc28ba918343ebfd5565147a42a26580579482" }, + { "nvim-treesitter/nvim-treesitter-textobjects", commit = "89ebe73cd2836db80a22d9748999ace0241917a5" }, + { "nvimtools/none-ls.nvim", commit = "db2a48b79cfcdab8baa5d3f37f21c78b6705c62e" }, { "olimorris/neotest-phpunit", commit = "baae8dfa0a3aaacd9f0bb6845d6348f5bcdc48bb" }, { "onsails/lspkind.nvim", version = "^1" }, { "petertriho/nvim-scrollbar", version = "^1" }, @@ -82,18 +85,17 @@ return { { "sidlatau/neotest-dart", commit = "ec1cecdfd44c82632f5fbdcad3dc77622fe4ee67" }, { "skywind3000/gutentags_plus", commit = "a0157ca0092a21f0947917945506fde3859c9cd2" }, { "smoka7/hop.nvim", version = "^2" }, - { "stevearc/aerial.nvim", commit = "44684bf429dc40e97a6d00ffa09043ac3f692186" }, + { "stevearc/aerial.nvim", commit = "5c0df1679bf7c814c924dc6646cc5291daca8363" }, { "stevearc/dressing.nvim", commit = "2d7c2db2507fa3c4956142ee607431ddb2828639" }, { "stevearc/overseer.nvim", commit = "72c68aab0358c92f451168b704c411c4a3e3410e" }, { "stevearc/stickybuf.nvim", commit = "0c1e5f1a3eb36eea2cea57083828269cc62c58e4" }, { "tpope/vim-fugitive", commit = "4a745ea72fa93bb15dd077109afbb3d1809383f2" }, { "tpope/vim-rhubarb", commit = "386daa2e9d98e23e27ad089afcbe5c5a903e488d" }, { "tzachar/highlight-undo.nvim", commit = "a5e2e2d43f6d131bf526619baeeeec32397b0789" }, - { "mason-org/mason-lspconfig.nvim", version = "^2" }, - { "mason-org/mason.nvim", version = "^2" }, { "windwp/nvim-autopairs", commit = "4d74e75913832866aa7de35e4202463ddf6efd1b" }, { "windwp/nvim-ts-autotag", commit = "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, - { "zeioth/nvim-java", commit = "528c49b12dcc7e3942f91ed3e961259bd0d3b47d" }, + { "zbirenbaum/copilot-cmp", commit = "15fc12af3d0109fa76b60b5cffa1373697e261d1" }, + { "zbirenbaum/copilot.lua", commit = "c1bb86abbed1a52a11ab3944ef00c8410520543d" }, { "zeioth/NormalSnippets", commit = "ef841ad4a0ccc6144d605cd2b4a874b04b295cb8" }, { "zeioth/compiler.nvim", version = "^4" }, { "zeioth/distroupdate.nvim", version = "^2" }, From 3f3a37b4d706dc95afe57d6177d26de822377c19 Mon Sep 17 00:00:00 2001 From: Zeioth Date: Tue, 24 Jun 2025 13:05:58 +0200 Subject: [PATCH 3/3] feat(github copilot): Is now enabled by default, and it has been integrated into the plugin `cmp`. Note copilot suggestions will only display on autocompletion after you do `:Copilot auth`. --- lua/plugins/2-ui.lua | 5 +++-- lua/plugins/3-dev-core.lua | 5 +++++ lua/plugins/4-dev.lua | 22 +++++++++++----------- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/lua/plugins/2-ui.lua b/lua/plugins/2-ui.lua index 32d872ef..9504c307 100644 --- a/lua/plugins/2-ui.lua +++ b/lua/plugins/2-ui.lua @@ -558,7 +558,7 @@ return { end }, - -- UI icons [icons] + -- UI icons [icons - ui] -- https://github.com/nvim-tree/nvim-web-devicons { "nvim-tree/nvim-web-devicons", @@ -573,7 +573,7 @@ return { }, }, - -- LSP icons [icons] + -- LSP icons [icons | lsp] -- https://github.com/onsails/lspkind.nvim { "onsails/lspkind.nvim", @@ -585,6 +585,7 @@ return { Boolean = "⊨", Class = "󰌗", Constructor = "", + Copilot = "", Key = "󰌆", Namespace = "󰅪", Null = "NULL", diff --git a/lua/plugins/3-dev-core.lua b/lua/plugins/3-dev-core.lua index d20fe1ee..87e6b2dd 100644 --- a/lua/plugins/3-dev-core.lua +++ b/lua/plugins/3-dev-core.lua @@ -433,6 +433,7 @@ return { { path = "markdown-preview.nvim", mods = { "mkdp" } }, -- has vimscript { path = "markmap.nvim", mods = { "markmap" } }, { path = "neural", mods = { "neural" } }, + { path = "copilot", mods = { "copilot" } }, { path = "guess-indent.nvim", mods = { "guess-indent" } }, { path = "compiler.nvim", mods = { "compiler" } }, { path = "overseer.nvim", mods = { "overseer", "lualine", "neotest", "resession", "cmp_overseer" } }, @@ -440,6 +441,7 @@ return { { path = "nvim-nio", mods = { "nio" } }, { path = "nvim-dap-ui", mods = { "dapui" } }, { path = "cmp-dap", mods = { "cmp_dap" } }, + { path = "cmp-copilot", mods = { "cmp_copilot" } }, { path = "mason-nvim-dap.nvim", mods = { "mason-nvim-dap" } }, { path = "one-small-step-for-vimkind", mods = { "osv" } }, @@ -479,6 +481,7 @@ return { "hrsh7th/cmp-buffer", "hrsh7th/cmp-path", "hrsh7th/cmp-nvim-lsp", + "zbirenbaum/copilot-cmp", "onsails/lspkind.nvim" }, event = "InsertEnter", @@ -613,9 +616,11 @@ return { end, { "i", "s" }), }, sources = cmp.config.sources { + -- Note: Priority decides the order items appear. { name = "nvim_lsp", priority = 1000 }, { name = "lazydev", priority = 850 }, { name = "luasnip", priority = 750 }, + { name = "copilot", priority = 600 }, { name = "buffer", priority = 500 }, { name = "path", priority = 250 }, }, diff --git a/lua/plugins/4-dev.lua b/lua/plugins/4-dev.lua index 7c08f7ab..18044477 100644 --- a/lua/plugins/4-dev.lua +++ b/lua/plugins/4-dev.lua @@ -342,20 +342,20 @@ return { }, -- copilot [github code suggestions] - -- https://github.com/github/copilot.vim + -- https://github.com/zbirenbaum/copilot.lua -- As alternative to chatgpt, you can use copilot uncommenting this. - -- Then you must run :Copilot setup - -- { - -- "github/copilot.vim", - -- event = "User BaseFile" - -- }, + -- Then you must run :Copilot auth + { + "zbirenbaum/copilot.lua", + event = "User BaseFile", + opts = {}, + }, -- copilot-cmp -- https://github.com/zbirenbaum/copilot-cmp - -- { - -- "zbirenbaum/copilot-cmp", - -- opts = { suggesion = { enabled = false }, panel = { enabled = false } }, - -- config = function (_, opts) require("copilot_cmp").setup(opts) end - -- }, + { + "zbirenbaum/copilot-cmp", + opts = {} + }, -- [guess-indent] -- https://github.com/NMAC427/guess-indent.nvim pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy