aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGithub Actions <actions@github>2021-03-11 18:48:24 +0000
committerGithub Actions <actions@github>2021-03-11 18:48:24 +0000
commit465a64ad2767e5ff5b055f9bd07314fa445cedc6 (patch)
tree5854a74b3b50a2bcd1c215c5447078d19fd1cc26
parentMerge pull request #707 from ngscheurich/haxe-language-server (diff)
downloadnvim-lspconfig-465a64ad2767e5ff5b055f9bd07314fa445cedc6.tar
nvim-lspconfig-465a64ad2767e5ff5b055f9bd07314fa445cedc6.tar.gz
nvim-lspconfig-465a64ad2767e5ff5b055f9bd07314fa445cedc6.tar.bz2
nvim-lspconfig-465a64ad2767e5ff5b055f9bd07314fa445cedc6.tar.lz
nvim-lspconfig-465a64ad2767e5ff5b055f9bd07314fa445cedc6.tar.xz
nvim-lspconfig-465a64ad2767e5ff5b055f9bd07314fa445cedc6.tar.zst
nvim-lspconfig-465a64ad2767e5ff5b055f9bd07314fa445cedc6.zip
[docgen] Update CONFIG.md
skip-checks: true
-rw-r--r--CONFIG.md47
1 files changed, 47 insertions, 0 deletions
diff --git a/CONFIG.md b/CONFIG.md
index 0b228a06..ba4e1d84 100644
--- a/CONFIG.md
+++ b/CONFIG.md
@@ -29,6 +29,7 @@ that config.
- [gopls](#gopls)
- [graphql](#graphql)
- [groovyls](#groovyls)
+- [haxe_language_server](#haxe_language_server)
- [hie](#hie)
- [hls](#hls)
- [html](#html)
@@ -1653,6 +1654,52 @@ require'lspconfig'.groovyls.setup{}
root_dir = root_pattern(".git") or vim.loop.os_homedir()
```
+## haxe_language_server
+
+https://github.com/vshaxe/haxe-language-server
+
+The Haxe language server can be built by running the following commands from
+the project's root directory:
+
+ npm install
+ npx lix run vshaxe-build -t language-server
+
+This will create `bin/server.js`. Note that the server requires Haxe 3.4.0 or
+higher.
+
+After building the language server, set the `cmd` setting in your setup
+function:
+
+```lua
+lspconfig.haxe_language_server.setup({
+ cmd = {"node", "path/to/bin/server.js"},
+})
+```
+
+By default, an HXML compiler arguments file named `build.hxml` is expected in
+your project's root directory. If your file is named something different,
+specify it using the `init_options.displayArguments` setting.
+
+
+```lua
+require'lspconfig'.haxe_language_server.setup{}
+
+ Commands:
+
+ Default Values:
+ cmd = { "haxe-language-server" }
+ filetypes = { "haxe" }
+ init_options = {
+ displayArguments = { "build.hxml" }
+ }
+ root_dir = root_pattern("*.hxml")
+ settings = {
+ haxe = {
+ executable = "haxe"
+ }
+ }
+```
+
## hie
https://github.com/haskell/haskell-ide-engine