josean-dev / dev-environment-files

2.64k stars 740 forks source link

lspsaga is complaining about deprecated method #21

Closed akkadaya closed 1 year ago

akkadaya commented 1 year ago

In your NVIM Setup, you're using saga.init_lsp_saga which has been marked as deprecated and whenever I open NVIM it complains about it.

From glepnir/lspsaga.nvim repo

---@deprecated
function saga.init_lsp_saga()
  vim.notify(
    'lspsaga.nvim v0.2.3+ has breaking changes. Please read the docs and migrate your configuration to the new "setup" function!',
    vim.log.levels.ERROR
  )
end
twobunnyrabbit commented 1 year ago

change saga.init_lsp_saga() to saga.setup({...})

josean-dev commented 1 year ago

Just fixed the issue. The way lspsaga is configured changed recently, so I migrated the config in lspsaga.lua. Thanks for letting me know!