From b45a4e11262c2205b6650d8d6c231a0055c9d439 Mon Sep 17 00:00:00 2001 From: Ross Sullivan Date: Mon, 6 May 2024 15:30:30 +0900 Subject: [PATCH 1/2] Added github copilot --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index e53e7c6c..d188b89d 100644 --- a/init.lua +++ b/init.lua @@ -245,6 +245,7 @@ require('lazy').setup({ -- "gc" to comment visual regions/lines { 'numToStr/Comment.nvim', opts = {} }, + 'github/copilot.vim', { 'pocco81/auto-save.nvim' }, -- Here is a more advanced example where we pass configuration -- options to `gitsigns.nvim`. This is equivalent to the following Lua: From b3f8ca058879bc24dcb88fc622543377c97f1481 Mon Sep 17 00:00:00 2001 From: Ross Sullivan Date: Mon, 6 May 2024 19:43:45 +0900 Subject: [PATCH 2/2] Added Java plugin --- init.lua | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index d188b89d..b031d664 100644 --- a/init.lua +++ b/init.lua @@ -608,7 +608,7 @@ require('lazy').setup({ }, }, } - + require('java').setup() -- Ensure the servers and tools above are installed -- To check the current status of installed tools and/or manually install -- other tools, you can run @@ -639,7 +639,28 @@ require('lazy').setup({ } end, }, - + { + 'nvim-java/nvim-java', + dependencies = { + 'nvim-java/lua-async-await', + 'nvim-java/nvim-java-refactor', + 'nvim-java/nvim-java-core', + 'nvim-java/nvim-java-test', + 'nvim-java/nvim-java-dap', + 'MunifTanjim/nui.nvim', + 'neovim/nvim-lspconfig', + 'mfussenegger/nvim-dap', + { + 'williamboman/mason.nvim', + opts = { + registries = { + 'github:nvim-java/mason-registry', + 'github:mason-org/mason-registry', + }, + }, + }, + }, + }, { -- Autoformat 'stevearc/conform.nvim', lazy = false,