aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/ghcide.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/lspconfig/ghcide.lua b/lua/lspconfig/ghcide.lua
index c427d599..23ea01ca 100644
--- a/lua/lspconfig/ghcide.lua
+++ b/lua/lspconfig/ghcide.lua
@@ -1,5 +1,7 @@
local configs = require 'lspconfig/configs'
local util = require 'lspconfig/util'
+local vim = vim
+vim.api.nvim_command('echomsg "NOTICE: \\"ghcide\\" has been deprecated. Use \\"haskell-language-server\\" instead of \\"ghcide\\". For more information, see https://github.com/haskell/ghcide/pull/939 .')
configs.ghcide = {
default_config = {
@@ -9,16 +11,15 @@ configs.ghcide = {
};
docs = {
- package_json = "https://raw.githubusercontent.com/digital-asset/ghcide/master/extension/package.json";
description = [[
https://github.com/digital-asset/ghcide
A library for building Haskell IDE tooling.
+"ghcide" isn't for end users now. Use "haskell-language-server" instead of "ghcide".
]];
default_config = {
root_dir = [[root_pattern("stack.yaml", "hie-bios", "BUILD.bazel", "cabal.config", "package.yaml")]];
};
};
};
-
-- vim:et ts=2 sw=2