Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 49 additions & 29 deletions doc/nvim-java.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*nvim-java.txt* For Neovim >= 0.9.4 Last change: 2024 June 28
*nvim-java.txt* For Neovim >= 0.9.4 Last change: 2024 July 01

==============================================================================
Table of Contents *nvim-java-table-of-contents*
Expand Down Expand Up @@ -286,38 +286,58 @@ want, following options are available

>lua
{
-- list of file that exists in root of the project
root_markers = {
'settings.gradle',
'settings.gradle.kts',
'pom.xml',
'build.gradle',
'mvnw',
'gradlew',
'build.gradle',
'build.gradle.kts',
'.git',
},
-- list of file that exists in root of the project
root_markers = {
'settings.gradle',
'settings.gradle.kts',
'pom.xml',
'build.gradle',
'mvnw',
'gradlew',
'build.gradle',
'build.gradle.kts',
'.git',
},

-- load java test plugins
java_test = {
enable = true,
},
-- load java test plugins
java_test = {
enable = true,
},

-- load java debugger plugins
java_debug_adapter = {
enable = true,
},
-- load java debugger plugins
java_debug_adapter = {
enable = true,
},

jdk = {
-- install jdk using mason.nvim
auto_install = true,
},
jdk = {
-- install jdk using mason.nvim
auto_install = true,
},

notifications = {
-- enable 'Configuring DAP' & 'DAP configured' messages on start up
dap = true,
},
notifications = {
-- enable 'Configuring DAP' & 'DAP configured' messages on start up
dap = true,
},

-- We do multiple verifications to make sure things are in place to run this
-- plugin
verification = {
-- nvim-java checks for the order of execution of following
-- * require('java').setup()
-- * require('lspconfig').jdtls.setup()
-- IF they are not executed in the correct order, you will see a error
-- notification.
-- Set following to false to disable the notification if you know what you
-- are doing
invalid_order = true,

-- nvim-java checks if the require('java').setup() is called multiple
-- times.
-- IF there are multiple setup calls are executed, an error will be shown
-- Set following property value to false to disable the notification if
-- you know what you are doing
duplicate_setup_calls = true,
},
}
<

Expand Down