diff options
| author | Kento Okura <kento@okura.at> | 2022-12-01 11:06:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-01 18:06:09 +0800 |
| commit | 26e9fbb3414a3b15774be45bbe21c89016887a95 (patch) | |
| tree | 4d70bd3a54d6444415a3416dddeb7926cdff839f /lua | |
| parent | perf: use the truly minimal test config file (#2269) (diff) | |
| download | nvim-lspconfig-26e9fbb3414a3b15774be45bbe21c89016887a95.tar nvim-lspconfig-26e9fbb3414a3b15774be45bbe21c89016887a95.tar.gz nvim-lspconfig-26e9fbb3414a3b15774be45bbe21c89016887a95.tar.bz2 nvim-lspconfig-26e9fbb3414a3b15774be45bbe21c89016887a95.tar.lz nvim-lspconfig-26e9fbb3414a3b15774be45bbe21c89016887a95.tar.xz nvim-lspconfig-26e9fbb3414a3b15774be45bbe21c89016887a95.tar.zst nvim-lspconfig-26e9fbb3414a3b15774be45bbe21c89016887a95.zip | |
feat: add unison support (#2276)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/unison.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/unison.lua b/lua/lspconfig/server_configurations/unison.lua new file mode 100644 index 00000000..c29b379d --- /dev/null +++ b/lua/lspconfig/server_configurations/unison.lua @@ -0,0 +1,17 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'nc', 'localhost', '5757' }, + filetypes = { 'unison' }, + root_dir = util.root_pattern '*.u', + settings = {}, + }, + docs = { + description = [[ +https://github.com/unisonweb/unison/blob/trunk/docs/language-server.markdown + + + ]], + }, +} |
