show snippet command in command palette
This commit is contained in:
parent
bdac99bdb3
commit
107a382b9c
5
main.js
5
main.js
|
@ -1770,14 +1770,15 @@ function commandpalette()
|
|||
{
|
||||
return {
|
||||
text: command.hint,
|
||||
suffix: command.shortcut ? [command.shortcut] : null
|
||||
suffix: command.shortcut ? [command.shortcut.toLowerCase()] : null
|
||||
};
|
||||
})
|
||||
.concat(snippets.map(s =>
|
||||
{
|
||||
return {
|
||||
prefix: "snippet: ",
|
||||
text: s.hint
|
||||
text: s.hint,
|
||||
suffix: [s.command]
|
||||
};
|
||||
}))
|
||||
.concat(localdata.map(n =>
|
||||
|
|
Loading…
Reference in New Issue