diff options
Diffstat (limited to 'nvim/lsp/unison.lua')
| -rwxr-xr-x | nvim/lsp/unison.lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/nvim/lsp/unison.lua b/nvim/lsp/unison.lua deleted file mode 100755 index d4fb118..0000000 --- a/nvim/lsp/unison.lua +++ /dev/null @@ -1,15 +0,0 @@ ----@brief ---- ---- https://github.com/unisonweb/unison/blob/trunk/docs/language-server.markdown - -local util = require 'lspconfig.util' - -return { - cmd = { 'nc', 'localhost', os.getenv 'UNISON_LSP_PORT' or '5757' }, - filetypes = { 'unison' }, - root_dir = function(bufnr, on_dir) - local fname = vim.api.nvim_buf_get_name(bufnr) - on_dir(util.root_pattern('*.u')(fname)) - end, - settings = {}, -} |
