Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 844 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 844 Bytes

Laravel IDE Helper for neovim

Requirements

  • neovim
  • laravel-ide-helper installed

Installation (lazy.nvim)

{
    "Bleksak/laravel-ide-helper.nvim",
    opts = {
        write_to_models = true,
        save_before_write = true,
        format_after_gen = true,
    },
    enabled = function()
        return vim.fn.filereadable("artisan") ~= 0
    end,
    keys = {
        { "<leader>lgm", function() require("laravel-ide-helper").generate_models(vim.fn.expand("%")) end, desc = "Generate Model Info for current model" },
        { "<leader>lgM", function() require("laravel-ide-helper").generate_models() end, desc = "Generate Model Info for all models" },
    }
}

Features

  • Generate Model Info

Contributing

Feel free to open a pull request if you find any issues or want to improve this plugin in any way.