Skip to content

Neovim Laravel Goto - Blade/Components/Partials/Livewire

License

Notifications You must be signed in to change notification settings

ccaglak/larago.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Neovim Laravel Goto - Blade/Components/Partials/Livewire

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages