You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my snippet :
s({
trig = "ic(%w+)",
trigEngine = "pattern",
}, {
l("import " .. l.LS_CAPTURE_1 .. " from './components/" .. l.LS_CAPTURE_1 .. "'"),
})
everything is good this works upon using "Ctrl-k"
but the problem is the snippet query (nvim-cmp) disappears while typing any further character apart from "ic".
eg: icHome doesn't come in snippet query but works fine with "Ctrl-k". Just I want to know is there any way to show it in snippet query. I mean as emmet does? typing h23 provides a snippet with "height:23px;"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is my snippet :
s({
trig = "ic(%w+)",
trigEngine = "pattern",
}, {
l("import " .. l.LS_CAPTURE_1 .. " from './components/" .. l.LS_CAPTURE_1 .. "'"),
})
everything is good this works upon using "Ctrl-k"
but the problem is the snippet query (nvim-cmp) disappears while typing any further character apart from "ic".
eg: icHome doesn't come in snippet query but works fine with "Ctrl-k". Just I want to know is there any way to show it in snippet query. I mean as emmet does? typing h23 provides a snippet with "height:23px;"
Beta Was this translation helpful? Give feedback.
All reactions