LunarVim / starter.lvim

🚀 A great starting point for your LunarVim journey!
321 stars 63 forks source link

Use of deprecated keywords in lvim.plugins #65

Closed vini-fda closed 1 year ago

vini-fda commented 1 year ago

As explained in the migration guide for lazy.nvim, the keywords tag and requires should no longer be used in the plugin section, as they have been replaced by version and dependencies, respectively. As such, the plugin listing for the rust-ide template should have these keywords changed:

lvim.plugins = {
  "simrat39/rust-tools.nvim",
  {
    "saecki/crates.nvim",
    tag = "v0.3.0", -- should be 'version'
    requires = { "nvim-lua/plenary.nvim" }, -- should be 'dependencies'
    config = function()
      require("crates").setup {
        null_ls = {
          enabled = true,
          name = "crates.nvim",
        },
        popup = {
          border = "rounded",
        },
      }
    end,
  },
  {
    "j-hui/fidget.nvim",
    config = function()
      require("fidget").setup()
    end,
  },