summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/unison.lua
blob: 7cc655f70eb393dad51b064476bddb0d3e832d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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


    ]],
  },
}