diff options
| author | Gilles Querret <g.querret@riverside-software.fr> | 2025-04-07 11:54:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-07 02:54:07 -0700 |
| commit | 442e077e326ac467daf9cd63e72120fb450a850b (patch) | |
| tree | 839ac4816c5d2b26b6f587baf9cc5d731c957067 /doc | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-442e077e326ac467daf9cd63e72120fb450a850b.tar nvim-lspconfig-442e077e326ac467daf9cd63e72120fb450a850b.tar.gz nvim-lspconfig-442e077e326ac467daf9cd63e72120fb450a850b.tar.bz2 nvim-lspconfig-442e077e326ac467daf9cd63e72120fb450a850b.tar.lz nvim-lspconfig-442e077e326ac467daf9cd63e72120fb450a850b.tar.xz nvim-lspconfig-442e077e326ac467daf9cd63e72120fb450a850b.tar.zst nvim-lspconfig-442e077e326ac467daf9cd63e72120fb450a850b.zip | |
fix(openedge_ls): update configuration #3623
* Changed Jar file name
* New 'debug' attribute
* Send 'init_options' object to language server
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/configs.md | 24 | ||||
| -rw-r--r-- | doc/configs.txt | 24 |
2 files changed, 36 insertions, 12 deletions
diff --git a/doc/configs.md b/doc/configs.md index e34a17e9..6d2c1bd2 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -7691,17 +7691,29 @@ Default config: [Language server](https://github.com/vscode-abl/vscode-abl) for Progress OpenEdge ABL. -For manual installation, download abl-lsp.jar from the [VSCode -extension](https://github.com/vscode-abl/vscode-abl/releases/latest). +For manual installation, download abl-lsda.jar from the [VSCode extension](https://github.com/vscode-abl/vscode-abl/releases/latest). Configuration ```lua -require('lspconfig').['openedge_ls'].setup { - oe_jar_path = '/path/to/abl-lsp.jar', - dlc = '12.2:/path/to/dlc-12.2', -- Version number and OpenEdge root directory (colon separator) +require('lspconfig').openedge_ls.setup { + oe_jar_path = '/path/to/abl-lsda.jar', debug = false, -- Set to true for debug logging - trace = false -- Set to true for trace logging (REALLY verbose) + trace = false, -- Set to true for trace logging (REALLY verbose) + init_options = { + abl = { + configuration = { + runtimes = { + { name = '12.8', path = '/opt/progress/dlc' } + }, + maxThreads = 1 + }, + completion = { + upperCase = false + }, + buildMode = 1 -- Build all + } + } } ``` diff --git a/doc/configs.txt b/doc/configs.txt index a8a3998a..3f0e4895 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -7128,17 +7128,29 @@ openedge_ls [Language server](https://github.com/vscode-abl/vscode-abl) for Progress OpenEdge ABL. -For manual installation, download abl-lsp.jar from the [VSCode -extension](https://github.com/vscode-abl/vscode-abl/releases/latest). +For manual installation, download abl-lsda.jar from the [VSCode extension](https://github.com/vscode-abl/vscode-abl/releases/latest). Configuration ```lua -require('lspconfig').['openedge_ls'].setup { - oe_jar_path = '/path/to/abl-lsp.jar', - dlc = '12.2:/path/to/dlc-12.2', -- Version number and OpenEdge root directory (colon separator) +require('lspconfig').openedge_ls.setup { + oe_jar_path = '/path/to/abl-lsda.jar', debug = false, -- Set to true for debug logging - trace = false -- Set to true for trace logging (REALLY verbose) + trace = false, -- Set to true for trace logging (REALLY verbose) + init_options = { + abl = { + configuration = { + runtimes = { + { name = '12.8', path = '/opt/progress/dlc' } + }, + maxThreads = 1 + }, + completion = { + upperCase = false + }, + buildMode = 1 -- Build all + } + } } ``` |
