laravel.nvim icon indicating copy to clipboard operation
laravel.nvim copied to clipboard

Model completion

Open Bleksak opened this issue 4 months ago • 1 comments

Since this plugin already has some completions, is there a way of adding model completions?

There are couple of limitations though.

  1. getting the relevant model (possibly through lsp hover and then getting model info?)
  2. cmp context only contains the current line, we would need something for multiline completion, for example: User::create([ 'field' => '...' ]); will not complete properly with the cmp context

Bleksak avatar Sep 29 '24 18:09 Bleksak