From f748db82f1a5ac4cefc7659bce51bdc1718e358f Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:18:20 +0100 Subject: [PATCH 1/9] nvim: Update Java setting --- nvim/ftplugin/java.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nvim/ftplugin/java.lua b/nvim/ftplugin/java.lua index 8f05e69..8e0fee1 100644 --- a/nvim/ftplugin/java.lua +++ b/nvim/ftplugin/java.lua @@ -43,9 +43,9 @@ require('jdtls').start_or_attach({ organizeImports = true }, signatureHelp = { - enabled = false, + enabled = true, description = { - enabled = false + enabled = true }, }, format = { @@ -55,7 +55,6 @@ require('jdtls').start_or_attach({ }, }, codeGeneration = { - --generateComments = true, insertionLocation = 'lastMember', hashCodeEquals = { useInstanceof = true, From 3adabd2e3da2beb935ae8860455787c08e8feb37 Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:19:27 +0100 Subject: [PATCH 2/9] nvim: Set diagnostic settings --- nvim/init.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nvim/init.vim b/nvim/init.vim index 4e10895..35f650e 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -45,4 +45,9 @@ autocmd CompleteDone * pclose " LSP config lua < Date: Sun, 22 Feb 2026 12:19:52 +0100 Subject: [PATCH 3/9] =?UTF-8?q?nvim:=20Set=20=E2=80=9Cscrolloff=E2=80=9D?= =?UTF-8?q?=20to=20four?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/init.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nvim/init.vim b/nvim/init.vim index 35f650e..db70da4 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -46,6 +46,8 @@ autocmd CompleteDone * pclose lua < Date: Sun, 22 Feb 2026 12:23:05 +0100 Subject: [PATCH 4/9] nvim: Remove Python DAP configuration --- nvim/lua/plugins/dap-python.lua | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 nvim/lua/plugins/dap-python.lua diff --git a/nvim/lua/plugins/dap-python.lua b/nvim/lua/plugins/dap-python.lua deleted file mode 100644 index 92bbe8c..0000000 --- a/nvim/lua/plugins/dap-python.lua +++ /dev/null @@ -1,11 +0,0 @@ -return { - "https://codeberg.org/mfussenegger/nvim-dap-python", - dependencies = { - "https://codeberg.org/mfussenegger/nvim-dap", - }, - lazy = true, - ft = { "python" }, - config = function() - require('dap-python').setup() - end, -} From a12225b6ca4ae77d56bb8a1381a9f196fb0c6b52 Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:23:35 +0100 Subject: [PATCH 5/9] nvim: Remove Gradle language server --- nvim/lua/plugins/lspconfig.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/nvim/lua/plugins/lspconfig.lua b/nvim/lua/plugins/lspconfig.lua index 53cdab8..65d0b18 100644 --- a/nvim/lua/plugins/lspconfig.lua +++ b/nvim/lua/plugins/lspconfig.lua @@ -53,9 +53,6 @@ return { } }) - -- Gradle - --vim.lsp.enable('gradle_ls') - -- HTML vim.lsp.enable('html') From 788ffcf960e280b1b1c1708002d4c35d1de60977 Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:23:54 +0100 Subject: [PATCH 6/9] nvim: Enable go language server --- nvim/lua/plugins/lspconfig.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/nvim/lua/plugins/lspconfig.lua b/nvim/lua/plugins/lspconfig.lua index 65d0b18..9803cc5 100644 --- a/nvim/lua/plugins/lspconfig.lua +++ b/nvim/lua/plugins/lspconfig.lua @@ -119,6 +119,7 @@ return { vim.lsp.buf.format({async = false}) end }) + vim.lsp.enable('gopls') -- PHP vim.lsp.enable('phpactor') From f6aa4108c8a4f6ab1e8f4f3bec7f28e1b60145d5 Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:25:51 +0100 Subject: [PATCH 7/9] =?UTF-8?q?nvim:=20Enabled=20SonarQube=20rule=20?= =?UTF-8?q?=E2=80=9C1192=E2=80=9D=20again?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/lua/plugins/sonarlint.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nvim/lua/plugins/sonarlint.lua b/nvim/lua/plugins/sonarlint.lua index 386d372..8f7c2cf 100644 --- a/nvim/lua/plugins/sonarlint.lua +++ b/nvim/lua/plugins/sonarlint.lua @@ -22,10 +22,6 @@ return { disableTelemetry = true, focusOnNewCode = true, showAnalyzerLogs = true, - rules = { - ['java:S1192'] = { level = 'off' }, - ['go:S1192'] = { level = 'off' }, - }, }, }, }, From 2d3f86e95ea86fc52a40d74883993dbc4c43fc51 Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:34:53 +0100 Subject: [PATCH 8/9] nvim: cmp: Change selection mode --- nvim/lua/plugins/cmp.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nvim/lua/plugins/cmp.lua b/nvim/lua/plugins/cmp.lua index 886e80f..0be4253 100644 --- a/nvim/lua/plugins/cmp.lua +++ b/nvim/lua/plugins/cmp.lua @@ -16,10 +16,8 @@ return { [""] = cmp.mapping.scroll_docs(4), [""] = cmp.mapping.complete(), [""] = cmp.mapping.close(), - [""] = cmp.mapping.confirm({ - behavior = cmp.ConfirmBehavior.Replace, - select = true, - }), + -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. + [''] = cmp.mapping.confirm({ select = false }), }), sources = cmp.config.sources({ { name = "nvim_lsp" }, From fd450fbd06c307d72b9182293107b63954bd5983 Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:35:09 +0100 Subject: [PATCH 9/9] nvim: cmp: Remove file type selection --- nvim/lua/plugins/cmp.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/nvim/lua/plugins/cmp.lua b/nvim/lua/plugins/cmp.lua index 0be4253..5469c45 100644 --- a/nvim/lua/plugins/cmp.lua +++ b/nvim/lua/plugins/cmp.lua @@ -1,7 +1,6 @@ return { "hrsh7th/nvim-cmp", lazy = true, - ft = { "java", "go", "python", "html" }, event = "InsertEnter", dependencies = { "hrsh7th/cmp-buffer",