Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 1.25 KB

README.md

File metadata and controls

65 lines (49 loc) · 1.25 KB

larago.nvim

Neovim Laravel goto blade/components

asciicast

Install

-- lazy.nvim
{
    'ccaglak/larago.nvim',
    dependencies = {
        "nvim-lua/plenary.nvim"
    }
}
-- packer.nvim
{
    'ccaglak/larago.nvim',
    requires = {
        "nvim-lua/plenary.nvim"
    }
}

Keymaps -- No default keymaps

    vim.keymap.set("n", "<leader>gg", "<cmd>GoBlade<cr>")

Features

  • Goto blade files ex. view('goto.larago')
  • goto tag ex. '<'x-jet-button'>'
  • Goto ex. @include('admin.notification.alert.bell')
  • Goto ex. @livewire('teams.delete-team-form', ['team' => $team])
  • Goto tag '<'livewire:calendars.holiday-calendar'>'
  • Goto ->name('profile.edit');

Requires

  • pleanery.nvim
  • treesitter "TSInstall php"
  • brew install ripgrep

Basic Usage

  • One keymap goto all the features listed above.
  • :GoBlade goto blade on cursor
  • :GoBlade goto component on cursor
  • creates view buffer if cant find it. return view('blog.index') hit your fav keymap.

Features to be add

  • goto static files
  • goto limewire classes

Check Out

Php Namespace Resolver namespace.nvim.

License MIT