ecosse3 / nvim

A non-minimal Neovim config built to work most efficiently with Frontend Development
GNU General Public License v3.0
1.19k stars 109 forks source link

nvim-lsp-file-operations Lazy spec #161

Closed doctorfree closed 10 months ago

doctorfree commented 10 months ago

It looks like the Lazy spec for nvim-lsp-file-operations is incorrect. Maybe copied the Packer config?

I think the following entry in lua/config/plugins.lua:

{
    "antosha417/nvim-lsp-file-operations",
    event = "LspAttach",
    requires = {
      { "nvim-lua/plenary.nvim" },
      { "kyazdani42/nvim-tree.lua" },
    },
    config = function()
      require("lsp-file-operations").setup()
    end
  },

should be changed to:

{
    "antosha417/nvim-lsp-file-operations",
    event = "LspAttach",
    dependencies = {
      { "nvim-lua/plenary.nvim" },
      { "nvim-tree/nvim-tree.lua" },
    },
    config = function()
      require("lsp-file-operations").setup()
    end,
  },
ecosse3 commented 10 months ago

@doctorfree Thanks! Fixed