diff options
| author | Raphael <glepnir@neovim.pro> | 2022-12-01 18:29:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-01 18:29:10 +0800 |
| commit | d79ffd833ce22e0b9719df98d942c399231779f0 (patch) | |
| tree | a89177661ba58293e924204c464fc27a1dfe85f3 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-d79ffd833ce22e0b9719df98d942c399231779f0.tar nvim-lspconfig-d79ffd833ce22e0b9719df98d942c399231779f0.tar.gz nvim-lspconfig-d79ffd833ce22e0b9719df98d942c399231779f0.tar.bz2 nvim-lspconfig-d79ffd833ce22e0b9719df98d942c399231779f0.tar.lz nvim-lspconfig-d79ffd833ce22e0b9719df98d942c399231779f0.tar.xz nvim-lspconfig-d79ffd833ce22e0b9719df98d942c399231779f0.tar.zst nvim-lspconfig-d79ffd833ce22e0b9719df98d942c399231779f0.zip | |
fix: inspect UNISON_LSP_PORT in unison (#2277)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/unison.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/unison.lua b/lua/lspconfig/server_configurations/unison.lua index c29b379d..7cc655f7 100644 --- a/lua/lspconfig/server_configurations/unison.lua +++ b/lua/lspconfig/server_configurations/unison.lua @@ -2,7 +2,7 @@ local util = require 'lspconfig.util' return { default_config = { - cmd = { 'nc', 'localhost', '5757' }, + cmd = { 'nc', 'localhost', os.getenv 'UNISON_LSP_PORT' or '5757' }, filetypes = { 'unison' }, root_dir = util.root_pattern '*.u', settings = {}, |
