1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 19:30:01 +02:00

nvim/lua/user/plugins/lang/php.lua: add blade-nav plugin

This commit is contained in:
Henrik Hautakoski 2024-11-22 10:01:40 +01:00
parent 927135a06c
commit 16dff0051b

View file

@ -119,6 +119,21 @@ return {
}
end,
},
-- Laravel stuff
{
'ricardoramirezr/blade-nav.nvim',
dependencies = { -- totally optional
'hrsh7th/nvim-cmp', -- if using nvim-cmp
},
ft = {'blade', 'php'}, -- optional, improves startup time
opts = {
close_tag_on_complete = true, -- default: true
},
config = function(_, opts)
require('blade-nav').setup(opts)
vim.api.nvim_set_hl(0, "CmpItemKindBladeNav", { fg = "#f55247" })
end
},
-- Testing
{
"nvim-neotest/neotest",