diff options
| author | tobil4sk <tobil4sk@outlook.com> | 2024-08-26 09:32:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-26 16:32:00 +0800 |
| commit | acf17dc4521b0850659b2c785664bc88408977bb (patch) | |
| tree | abda5340e3651bd26767dcfaef49d48d323ef908 /doc | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-acf17dc4521b0850659b2c785664bc88408977bb.tar nvim-lspconfig-acf17dc4521b0850659b2c785664bc88408977bb.tar.gz nvim-lspconfig-acf17dc4521b0850659b2c785664bc88408977bb.tar.bz2 nvim-lspconfig-acf17dc4521b0850659b2c785664bc88408977bb.tar.lz nvim-lspconfig-acf17dc4521b0850659b2c785664bc88408977bb.tar.xz nvim-lspconfig-acf17dc4521b0850659b2c785664bc88408977bb.tar.zst nvim-lspconfig-acf17dc4521b0850659b2c785664bc88408977bb.zip | |
feat: improve default haxe_language_server init_options (#3284)
* feat: add '.git' as root pattern for haxe_language_server
* feat: use existing hxml for haxe ls configuration
Previously, it would detect the root dir by matching with "*.hxml", however, it
would use "build.hxml" as the default `displayArguments` even though it may not
exist. This could cause the error:
```
haxe_language_server: -32603: Error: Could not process argument build.hxml (file not found)
Invalid character:
```
Now it will use the first ".hxml" file that is found in the project. It will
only do this if no `displayArguments` value has been set in the `setup()` call,
so it will still respect user set values.
If no hxml file is found, then it uses empty `displayArguments`, which is still
better than a broken configuration.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
