|
1 | | -*nvim-java.txt* For Neovim >= 0.9.4 Last change: 2024 June 28 |
| 1 | +*nvim-java.txt* For Neovim >= 0.9.4 Last change: 2024 July 01 |
2 | 2 |
|
3 | 3 | ============================================================================== |
4 | 4 | Table of Contents *nvim-java-table-of-contents* |
@@ -286,38 +286,58 @@ want, following options are available |
286 | 286 |
|
287 | 287 | >lua |
288 | 288 | { |
289 | | - -- list of file that exists in root of the project |
290 | | - root_markers = { |
291 | | - 'settings.gradle', |
292 | | - 'settings.gradle.kts', |
293 | | - 'pom.xml', |
294 | | - 'build.gradle', |
295 | | - 'mvnw', |
296 | | - 'gradlew', |
297 | | - 'build.gradle', |
298 | | - 'build.gradle.kts', |
299 | | - '.git', |
300 | | - }, |
| 289 | + -- list of file that exists in root of the project |
| 290 | + root_markers = { |
| 291 | + 'settings.gradle', |
| 292 | + 'settings.gradle.kts', |
| 293 | + 'pom.xml', |
| 294 | + 'build.gradle', |
| 295 | + 'mvnw', |
| 296 | + 'gradlew', |
| 297 | + 'build.gradle', |
| 298 | + 'build.gradle.kts', |
| 299 | + '.git', |
| 300 | + }, |
301 | 301 |
|
302 | | - -- load java test plugins |
303 | | - java_test = { |
304 | | - enable = true, |
305 | | - }, |
| 302 | + -- load java test plugins |
| 303 | + java_test = { |
| 304 | + enable = true, |
| 305 | + }, |
306 | 306 |
|
307 | | - -- load java debugger plugins |
308 | | - java_debug_adapter = { |
309 | | - enable = true, |
310 | | - }, |
| 307 | + -- load java debugger plugins |
| 308 | + java_debug_adapter = { |
| 309 | + enable = true, |
| 310 | + }, |
311 | 311 |
|
312 | | - jdk = { |
313 | | - -- install jdk using mason.nvim |
314 | | - auto_install = true, |
315 | | - }, |
| 312 | + jdk = { |
| 313 | + -- install jdk using mason.nvim |
| 314 | + auto_install = true, |
| 315 | + }, |
316 | 316 |
|
317 | | - notifications = { |
318 | | - -- enable 'Configuring DAP' & 'DAP configured' messages on start up |
319 | | - dap = true, |
320 | | - }, |
| 317 | + notifications = { |
| 318 | + -- enable 'Configuring DAP' & 'DAP configured' messages on start up |
| 319 | + dap = true, |
| 320 | + }, |
| 321 | + |
| 322 | + -- We do multiple verifications to make sure things are in place to run this |
| 323 | + -- plugin |
| 324 | + verification = { |
| 325 | + -- nvim-java checks for the order of execution of following |
| 326 | + -- * require('java').setup() |
| 327 | + -- * require('lspconfig').jdtls.setup() |
| 328 | + -- IF they are not executed in the correct order, you will see a error |
| 329 | + -- notification. |
| 330 | + -- Set following to false to disable the notification if you know what you |
| 331 | + -- are doing |
| 332 | + invalid_order = true, |
| 333 | + |
| 334 | + -- nvim-java checks if the require('java').setup() is called multiple |
| 335 | + -- times. |
| 336 | + -- IF there are multiple setup calls are executed, an error will be shown |
| 337 | + -- Set following property value to false to disable the notification if |
| 338 | + -- you know what you are doing |
| 339 | + duplicate_setup_calls = true, |
| 340 | + }, |
321 | 341 | } |
322 | 342 | < |
323 | 343 |
|
|
0 commit comments