added jdtls and newline to end of files
This commit is contained in:
@@ -3,3 +3,4 @@
|
||||
[ripgrep](https://github.com/BurntSushi/ripgrep) is required for this to work.
|
||||
|
||||
My configuration for Neovim.
|
||||
|
||||
|
||||
@@ -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 +1,2 @@
|
||||
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
|
||||
|
||||
|
||||
@@ -28,3 +28,4 @@ vim.opt.updatetime = 50
|
||||
|
||||
vim.opt.colorcolumn = "80"
|
||||
vim.g.c_syntax_for_h = 1
|
||||
|
||||
|
||||
+3
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -39,3 +39,4 @@ return {
|
||||
end
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,3 +8,4 @@ return {
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user