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:
parent
927135a06c
commit
16dff0051b
1 changed files with 15 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue