From 06896cbf835cf89c17149911c750d7188e38544a Mon Sep 17 00:00:00 2001 From: s1n7ax <18459807+s1n7ax@users.noreply.github.com> Date: Tue, 24 Dec 2024 03:52:27 +0000 Subject: [PATCH] chore(doc): automatic vimdoc update --- doc/nvim-java.txt | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/doc/nvim-java.txt b/doc/nvim-java.txt index 545faef..c8dc219 100644 --- a/doc/nvim-java.txt +++ b/doc/nvim-java.txt @@ -1,4 +1,4 @@ -*nvim-java.txt* For Neovim >= 0.9.4 Last change: 2024 July 14 +*nvim-java.txt* For Neovim >= 0.9.4 Last change: 2024 December 24 ============================================================================== Table of Contents *nvim-java-table-of-contents* @@ -24,9 +24,15 @@ Table of Contents *nvim-java-table-of-contents* Just install and start writing `public static void main(String[] args)`. - [!WARNING] You cannot use `nvim-java` alongside `nvim-jdtls`. So remove + [!CAUTION] You cannot use `nvim-java` alongside `nvim-jdtls`. So remove `nvim-jdtls` before installing this + [!TIP] You can find cool tips & tricks here + https://github.com/nvim-java/nvim-java/wiki/Tips-&-Tricks + + [!NOTE] If you are facing errors while using, please check troubleshoot wiki + https://github.com/nvim-java/nvim-java/wiki/Troubleshooting + DEMO *nvim-java-demo* @@ -106,7 +112,9 @@ COMMANDS *nvim-java-commands* BUILD ~ -- `JavaBuildWorkspace` - Runs a full workspace build +- `JavaBuildBuildWorkspace` - Runs a full workspace build +- `JavaBuildCleanWorkspace` - Clear the workspace cache (for now you have to + close and reopen to restart the language server after the deletion) RUNNER ~ @@ -171,6 +179,14 @@ BUILD ~ require('java').build.build_workspace() < +- `build.clean_workspace` - Clear the workspace cache + (for now you have to close and reopen to restart the language server after + the deletion) + +>lua + require('java').build.clean_workspace() +< + RUNNER ~ @@ -361,14 +377,24 @@ want, following options are available '.git', }, + jdtls = { + version = 'v1.37.0', + }, + + lombok = { + version = 'nightly', + }, + -- load java test plugins java_test = { enable = true, + version = '0.40.1', }, -- load java debugger plugins java_debug_adapter = { enable = true, + version = '0.58.1', }, spring_boot_tools = { @@ -408,7 +434,7 @@ want, following options are available -- mason.nvim plugin. -- IF it's not registered correctly, an error will be thrown and nvim-java -- will stop setup - invalid_mason_registry = true, + invalid_mason_registry = false, }, } <