lsp installer sample update

pull/173/head
ray-x 2 years ago
parent ab96133b47
commit d8e4787bfb

@ -30,6 +30,7 @@ local function load_plugins()
end, end,
['tsserver'] = function(options) ['tsserver'] = function(options)
options.on_attach = function(client) options.on_attach = function(client)
print('attach from installer')
client.resolved_capabilities.document_formatting = false client.resolved_capabilities.document_formatting = false
end end
end, end,
@ -50,7 +51,9 @@ local function load_plugins()
'ray-x/navigator.lua', 'ray-x/navigator.lua',
config = function() config = function()
require('navigator').setup({ require('navigator').setup({
debug = true,
lsp_installer = true, lsp_installer = true,
keymaps = { { key = 'gR', func = "require('navigator.reference').async_ref()" } },
}) })
end, end,
}) })

Loading…
Cancel
Save