We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 340cad5 commit 18bb0abCopy full SHA for 18bb0ab
README.md
@@ -62,11 +62,15 @@ return {
62
},
63
}
64
65
- event = 'VeryLazy',
66
- opts = {},
67
68
```
69
+- Setup nvim-java before `lspconfig`
+
70
+```lua
71
+require('java').setup()
72
+```
73
74
- Setup jdtls like you would usually do
75
76
```lua
lua/java.lua
@@ -11,7 +11,8 @@ local global_config = require('java.config')
11
local M = {}
12
13
function M.setup(custom_config)
14
- local config = vim.tbl_deep_extend('force', global_config, custom_config)
+ local config =
15
+ vim.tbl_deep_extend('force', global_config, custom_config or {})
16
17
nvim_dep.check()
18
0 commit comments