Skip to content

Commit 235f5fa

Browse files
chore(doc): automatic vimdoc update (#13)
Co-authored-by: s1n7ax <s1n7ax@users.noreply.github.com>
1 parent 5a4b050 commit 235f5fa

File tree

1 file changed

+4
-48
lines changed

1 file changed

+4
-48
lines changed

doc/nvim-java-core.txt

Lines changed: 4 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,20 @@
1-
*nvim-java-core.txt* For Neovim >= 0.9.4 Last change: 2023 November 15
1+
*nvim-java-core.txt* For Neovim >= 0.9.4 Last change: 2023 December 10
22

33
==============================================================================
44
Table of Contents *nvim-java-core-table-of-contents*
55

66
1. nvim-java-core |nvim-java-core-nvim-java-core|
7-
- Features |nvim-java-core-features|
8-
- Why |nvim-java-core-why|
9-
- How to Use |nvim-java-core-how-to-use|
7+
- Head on to main project nvim-java|nvim-java-core-head-on-to-main-project-nvim-java|
108

119
==============================================================================
1210
1. nvim-java-core *nvim-java-core-nvim-java-core*
1311

1412

1513

16-
No need to put up with jdtls <https://github.com/eclipse-jdtls/eclipse.jdt.ls>
17-
nonsense anymore. Just install and start writing `public static void
18-
main(String[] args)`.
14+
This project includes anything and everything to do with communicating to jdtls
1915

2016

21-
FEATURES *nvim-java-core-features*
22-
23-
are supported features. are pending features.
24-
25-
- Diagnostics & Auto Completion
26-
- Automatic DAP <https://github.com/mfussenegger/nvim-dap> debug configuration
27-
- Running tests
28-
29-
30-
WHY *nvim-java-core-why*
31-
32-
- Uses nvim-lspconfig <> to setup `jdtls`
33-
- Uses `jdtls` and auto loads `jdtls` plugins from mason.nvim <https://github.com/williamboman/mason.nvim> (If they are installed)
34-
- Supported plugins are,
35-
- `lombok` (mason `jdtls` package contains the lombok jar. So no need to installed it separately)
36-
- `java-test`
37-
- `java-debug-adapter`
38-
- Typed & documented APIs
39-
- No callback hells I promise <https://github.com/pyericz/promise-lua>
40-
41-
42-
HOW TO USE *nvim-java-core-how-to-use*
43-
44-
>lua
45-
local java = require('java-core')
46-
local dap = require("java.dap")
47-
48-
-- update dap config on attach event
49-
dap.setup_dap_on_attach()
50-
51-
require('lspconfig').jdtls.setup(java.get_config())
52-
53-
vim.api.nvim_create_autocmd('LspAttach', {
54-
callback = function(args)
55-
local buffer = args.buf
56-
57-
-- add your language server keymaps here
58-
end,
59-
group = vim.api.nvim_create_augroup('LSP Keymaps', {}),
60-
})
61-
<
17+
HEAD ON TO MAIN PROJECT NVIM-JAVA*nvim-java-core-head-on-to-main-project-nvim-java*
6218

6319
==============================================================================
6420
2. Links *nvim-java-core-links*

0 commit comments

Comments
 (0)