Skip to content

Bleksak/laravel-ide-helper.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Use neovim with Laravel IDE helper

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published