Custom Laravel components directories
Search in custom paths when using gf
on a Laravel component enabling the exrc
option and adding to one of the supported files something like:
vim.g.blade_nav = {
laravel_componets = {
"resources/views/common",
}
}
Setting vim.o.exrc = true
, see :h VIMINIT
Custom close tags on complete
To prevent a closing ')
you can set close_tag_on_complete
option to false
, it happens when you have an auto close plugin.
For example, in lazy.nvim:
{
'ricardoramirezr/blade-nav.nvim',
ft = {'blade', 'php'} -- optional, improves startup time
opts = {
close_tag_on_complete = false, -- default: true
},
}