ray-x / navigator.lua

Code analysis & navigation plugin for Neovim. Navigate codes like a breeze🎐 Exploring LSP and 🌲Treesitter symbols a piece of 🍰 Take control like a boss 🦍
MIT License
1.3k stars 58 forks source link

Lspinstaller setup breaking change #181

Closed ray-x closed 2 years ago

ray-x commented 2 years ago

https://github.com/williamboman/nvim-lsp-installer/pull/631

Suyashtnt commented 2 years ago

Any updates on fixing the issues?

Suyashtnt commented 2 years ago


local function on_attach(client, bufnr)
    require("navigator.lspclient.mapping").setup({
        client = client,
        bufnr = bufnr,
        cap = client.server_capabilities,
    })
end

lspconfig.rust_analyzer.setup (coq.lsp_ensure_capabilities({on_attach = on_attach}))
lspconfig.sumneko_lua.setup (coq.lsp_ensure_capabilities({on_attach = on_attach}))
lspconfig.tsserver.setup (coq.lsp_ensure_capabilities({on_attach = on_attach}))
lspconfig.prismals.setup (coq.lsp_ensure_capabilities({on_attach = on_attach}))
lspconfig.svelte.setup (coq.lsp_ensure_capabilities({on_attach = on_attach}))
lspconfig.taplo.setup (coq.lsp_ensure_capabilities({on_attach = on_attach}))
lspconfig.jsonls.setup (coq.lsp_ensure_capabilities({on_attach = on_attach}))
``` this is what im currently doing to get this plugin working