diff options
Diffstat (limited to '.config/nvim/lsp/unison.lua')
-rw-r--r-- | .config/nvim/lsp/unison.lua | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/.config/nvim/lsp/unison.lua b/.config/nvim/lsp/unison.lua deleted file mode 100644 index e7434a5..0000000 --- a/.config/nvim/lsp/unison.lua +++ /dev/null @@ -1,16 +0,0 @@ ----@brief ---- ---- https://github.com/unisonweb/unison/blob/trunk/docs/language-server.markdown - -local util = require 'lspconfig.util' - ----@type vim.lsp.Config -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 = {}, -} |