diff options
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/unison.lua')
-rw-r--r-- | start/lspconfig-0.1.8/lua/lspconfig/server_configurations/unison.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/unison.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/unison.lua new file mode 100644 index 0000000..7cc655f --- /dev/null +++ b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/unison.lua @@ -0,0 +1,17 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'nc', 'localhost', os.getenv 'UNISON_LSP_PORT' or '5757' }, + filetypes = { 'unison' }, + root_dir = util.root_pattern '*.u', + settings = {}, + }, + docs = { + description = [[ +https://github.com/unisonweb/unison/blob/trunk/docs/language-server.markdown + + + ]], + }, +} |