diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-09-30 04:05:33 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-09-30 04:05:33 +0000 |
| commit | a844e89ea0e0e4b207ec550c3b51fb6e471881a4 (patch) | |
| tree | cf3c3b008017210cb9627e81676c6064942bdef8 /doc | |
| parent | fix(jdtls): use project-local workspace dir, remove unused options #4105 (diff) | |
| download | nvim-lspconfig-a844e89ea0e0e4b207ec550c3b51fb6e471881a4.tar nvim-lspconfig-a844e89ea0e0e4b207ec550c3b51fb6e471881a4.tar.gz nvim-lspconfig-a844e89ea0e0e4b207ec550c3b51fb6e471881a4.tar.bz2 nvim-lspconfig-a844e89ea0e0e4b207ec550c3b51fb6e471881a4.tar.lz nvim-lspconfig-a844e89ea0e0e4b207ec550c3b51fb6e471881a4.tar.xz nvim-lspconfig-a844e89ea0e0e4b207ec550c3b51fb6e471881a4.tar.zst nvim-lspconfig-a844e89ea0e0e4b207ec550c3b51fb6e471881a4.zip | |
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/configs.md | 10 | ||||
| -rw-r--r-- | doc/configs.txt | 8 |
2 files changed, 4 insertions, 14 deletions
diff --git a/doc/configs.md b/doc/configs.md index 2664a2cd..19ea808e 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -5904,20 +5904,14 @@ vim.lsp.enable('jdtls') ``` Default config: -- `cmd` : - ```lua - { "jdtls", "-configuration", "/home/runner/.cache/jdtls/config", "-data", "/home/runner/.cache/jdtls/workspace" } - ``` +- `cmd`: [../lsp/jdtls.lua:74](../lsp/jdtls.lua#L74) - `filetypes` : ```lua { "java" } ``` - `init_options` : ```lua - { - jvm_args = {}, - workspace = "/home/runner/.cache/jdtls/workspace" - } + {} ``` - `root_markers` : ```lua diff --git a/doc/configs.txt b/doc/configs.txt index 886c530e..3bb80d47 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -4243,15 +4243,11 @@ Snippet to enable the language server: >lua Default config: -- cmd: >lua - { "jdtls", "-configuration", "/home/runner/.cache/jdtls/config", "-data", "/home/runner/.cache/jdtls/workspace" } +- cmd (use "gF" to view): ../lsp/jdtls.lua:74 - filetypes: >lua { "java" } - init_options: >lua - { - jvm_args = {}, - workspace = "/home/runner/.cache/jdtls/workspace" - } + {} - root_markers: >lua { { "mvnw", "gradlew", "build.gradle", "build.gradle.kts", ".git" }, { "build.xml", "pom.xml", "settings.gradle", "settings.gradle.kts" } } < |
