From d8e4787bfbd74cf14d53ba03b8bdca279fcba751 Mon Sep 17 00:00:00 2001 From: ray-x Date: Fri, 11 Mar 2022 09:03:28 +1100 Subject: [PATCH] lsp installer sample update --- playground/init_lsp_installer.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playground/init_lsp_installer.lua b/playground/init_lsp_installer.lua index c8ffc04..fd70791 100644 --- a/playground/init_lsp_installer.lua +++ b/playground/init_lsp_installer.lua @@ -30,6 +30,7 @@ local function load_plugins() end, ['tsserver'] = function(options) options.on_attach = function(client) + print('attach from installer') client.resolved_capabilities.document_formatting = false end end, @@ -50,7 +51,9 @@ local function load_plugins() 'ray-x/navigator.lua', config = function() require('navigator').setup({ + debug = true, lsp_installer = true, + keymaps = { { key = 'gR', func = "require('navigator.reference').async_ref()" } }, }) end, })