From 56192022b25bf8e71e84e80c6a0936efd88c2f2b Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 7 Dec 2019 22:10:33 -0800 Subject: remove Vimscript wrapper nvim_lsp#setup() Lua is easy to use from Vimscript, there is no reason to have multiple ways to work with nvim-lsp. - massively clarifies the "story" that users need to comprehend - reduces surface area, maintenance, tests - avoids constant "Vim or Lua" dance in the documentation - simplifies discussions, tutorials, etc. - avoids confusing situation for users that start with Vimscript but later need Lua-only features --- lua/nvim_lsp/skeleton.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/nvim_lsp/skeleton.lua') diff --git a/lua/nvim_lsp/skeleton.lua b/lua/nvim_lsp/skeleton.lua index ff26e14b..6859be69 100644 --- a/lua/nvim_lsp/skeleton.lua +++ b/lua/nvim_lsp/skeleton.lua @@ -40,7 +40,7 @@ function skeleton.__newindex(t, template_name, template) config.callbacks["window/logMessage"] = function(err, method, params, client_id) if params and params.type <= config.log_level then -- TODO(ashkan) remove this after things have settled. - assert(lsp.callbacks, "Please update neovim master. This is an incompatible interface.") + assert(lsp.callbacks, "Update to Nvim HEAD. This is an incompatible interface.") lsp.callbacks[method](err, method, params, client_id) end end -- cgit v1.2.3-70-g09d2