added jdtls and newline to end of files

This commit is contained in:
2025-04-11 07:26:54 +02:00
parent 4db9e65e6f
commit a9d9c2199d
8 changed files with 15 additions and 2 deletions
+1
View File
@@ -3,3 +3,4 @@
[ripgrep](https://github.com/BurntSushi/ripgrep) is required for this to work.
My configuration for Neovim.
+6
View File
@@ -0,0 +1,6 @@
local config = {
cmd = { os.getenv('HOME') .. '/.local/share/java/jdtls/bin/jdtls' },
root_dir = vim.fs.dirname(vim.fs.find({ 'gradlew', '.git', 'mvnw' }, { upward = true })[1]),
}
require('jdtls').start_or_attach(config)
+1
View File
@@ -1 +1,2 @@
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
+1
View File
@@ -28,3 +28,4 @@ vim.opt.updatetime = 50
vim.opt.colorcolumn = "80"
vim.g.c_syntax_for_h = 1
+3 -1
View File
@@ -1,5 +1,7 @@
return {
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
{ "hrsh7th/nvim-cmp" },
{ "hrsh7th/cmp-nvim-lsp" }
{ "hrsh7th/cmp-nvim-lsp" },
{ "mfussenegger/nvim-jdtls" } -- jdtls bindings for neovim
}
+1
View File
@@ -39,3 +39,4 @@ return {
end
}
}
+1
View File
@@ -8,3 +8,4 @@ return {
end,
}
}