chore(loki-completions): remove odd string

This commit is contained in:
Matias Chomicki 2022-10-05 16:44:56 +02:00
parent 7b9180c0a1
commit dea9dc2f0f
2 changed files with 5 additions and 5 deletions

View File

@ -37,25 +37,25 @@ const afterSelectorCompletions = [
{
insertText: '|= "$0"',
isSnippet: true,
label: '|= "something"',
label: '|= ""',
type: 'LINE_FILTER',
},
{
insertText: '!= "$0"',
isSnippet: true,
label: '!= "something"',
label: '!= ""',
type: 'LINE_FILTER',
},
{
insertText: '|~ "$0"',
isSnippet: true,
label: '|~ "something"',
label: '|~ ""',
type: 'LINE_FILTER',
},
{
insertText: '!~ "$0"',
isSnippet: true,
label: '!~ "something"',
label: '!~ ""',
type: 'LINE_FILTER',
},
{

View File

@ -73,7 +73,7 @@ const DURATION_COMPLETIONS: Completion[] = [
const LINE_FILTER_COMPLETIONS: Completion[] = ['|=', '!=', '|~', '!~'].map((item) => ({
type: 'LINE_FILTER',
label: `${item} "something"`,
label: `${item} ""`,
insertText: `${item} "$0"`,
isSnippet: true,
}));