Skip to content

Commit bb91957

Browse files
committed
fix(php): autocomplete not working because of blink + nvim-ts-autotag in php files
1 parent 768fc89 commit bb91957

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

lua/astrocommunity/pack/php/init.lua

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,22 @@ return {
4848
},
4949
},
5050
},
51+
{
52+
"Saghen/blink.cmp",
53+
optional = true,
54+
opts = {},
55+
dependencies = {
56+
{
57+
-- We disable autotag closing in php files since it breaks blink.cmp
58+
---@see https://github.com/saghen/blink.cmp/issues/2234#issuecomment-3461410965
59+
"windwp/nvim-ts-autotag",
60+
lazy = false,
61+
opts = {
62+
per_filetype = {
63+
["php"] = { enable_close = false },
64+
},
65+
},
66+
},
67+
},
68+
},
5169
}

0 commit comments

Comments
 (0)