diff options
| author | Matthias Schaub <83658582+matthiasschaub@users.noreply.github.com> | 2022-03-23 22:34:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-23 14:34:48 -0700 |
| commit | 9cd563f52de64795e788111fe41eeccf5bbc5743 (patch) | |
| tree | cedfbcb03f355a02bcef0c385fd594000ae47600 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-9cd563f52de64795e788111fe41eeccf5bbc5743.tar nvim-lspconfig-9cd563f52de64795e788111fe41eeccf5bbc5743.tar.gz nvim-lspconfig-9cd563f52de64795e788111fe41eeccf5bbc5743.tar.bz2 nvim-lspconfig-9cd563f52de64795e788111fe41eeccf5bbc5743.tar.lz nvim-lspconfig-9cd563f52de64795e788111fe41eeccf5bbc5743.tar.xz nvim-lspconfig-9cd563f52de64795e788111fe41eeccf5bbc5743.tar.zst nvim-lspconfig-9cd563f52de64795e788111fe41eeccf5bbc5743.zip | |
fix(hoon-language-server): update cmd and docs (#1809)
Remove CMD parameters for which the language server provides defaults.
Make docs simpler.
Remove markdown code fences.
Co-authored-by: Matthias Schaub <matthias.schaub@posteo.de>
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/hoon_ls.lua | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lua/lspconfig/server_configurations/hoon_ls.lua b/lua/lspconfig/server_configurations/hoon_ls.lua index a72ec6b6..80092db1 100644 --- a/lua/lspconfig/server_configurations/hoon_ls.lua +++ b/lua/lspconfig/server_configurations/hoon_ls.lua @@ -1,10 +1,10 @@ local util = require 'lspconfig.util' local bin_name = 'hoon-language-server' -local cmd = { bin_name, '-p', '8080' } +local cmd = { bin_name } if vim.fn.has 'win32' == 1 then - cmd = { 'cmd.exe', '/C', bin_name, '-p', '8080' } + cmd = { 'cmd.exe', '/C', bin_name } end return { @@ -20,11 +20,10 @@ https://github.com/urbit/hoon-language-server A language server for Hoon. -The language server can be installed via `npm install -g hoon-language-server` +The language server can be installed via `npm install -g @hoon-language-server` -Install and build Urbit. Then, start a fake ~zod with `urbit -lF zod -c zod`. -And start the language server at the Urbit Dojo prompt with: `|start %language-server` -``` +Start a fake ~zod with `urbit -F zod`. +Start the language server at the Urbit Dojo prompt with: `|start %language-server` ]], }, } |
