@@ -491,29 +491,17 @@ export const SNIPPETS: BashCompletionItem[] = [
491
491
{
492
492
documentation : 'block' ,
493
493
label : 'block' ,
494
- insertText : [
495
- '{' ,
496
- '\t${1:command ...}' ,
497
- '}' ,
498
- ] . join ( '\n' ) ,
494
+ insertText : [ '{' , '\t${1:command ...}' , '}' ] . join ( '\n' ) ,
499
495
} ,
500
496
{
501
497
documentation : 'block redirected' ,
502
498
label : 'block-redirected' ,
503
- insertText : [
504
- '{' ,
505
- '\t${1:command ...}' ,
506
- '} > ${2:file}' ,
507
- ] . join ( '\n' ) ,
499
+ insertText : [ '{' , '\t${1:command ...}' , '} > ${2:file}' ] . join ( '\n' ) ,
508
500
} ,
509
501
{
510
502
documentation : 'block stderr redirected' ,
511
503
label : 'block-stderr-redirected' ,
512
- insertText : [
513
- '{' ,
514
- '\t${1:command ...}' ,
515
- '} 2> ${2:file}' ,
516
- ] . join ( '\n' ) ,
504
+ insertText : [ '{' , '\t${1:command ...}' , '} 2> ${2:file}' ] . join ( '\n' ) ,
517
505
} ,
518
506
{
519
507
documentation : 'variable' ,
@@ -588,17 +576,17 @@ export const SNIPPETS: BashCompletionItem[] = [
588
576
{
589
577
documentation : 'string-match' ,
590
578
label : 'string filtering' ,
591
- insertText : ' sed ${1|-E -n,--regexp-extended --quiet|} \ '/${2:pattern}/p\'' ,
579
+ insertText : " sed ${1|-E -n,--regexp-extended --quiet|} '/${2:pattern}/p'" ,
592
580
} ,
593
581
{
594
582
documentation : 'string-replace' ,
595
583
label : 'string replacement' ,
596
- insertText : ' sed ${1|-E,--regexp-extended|} \ 's/${2:pattern}/${3:replacement}/\'' ,
584
+ insertText : " sed ${1|-E,--regexp-extended|} 's/${2:pattern}/${3:replacement}/'" ,
597
585
} ,
598
586
{
599
587
documentation : 'string-replace-all' ,
600
588
label : 'string replacement' ,
601
- insertText : ' sed ${1|-E,--regexp-extended|} \ 's/${2:pattern}/${3:replacement}/g\'' ,
589
+ insertText : " sed ${1|-E,--regexp-extended|} 's/${2:pattern}/${3:replacement}/g'" ,
602
590
} ,
603
591
{
604
592
documentation : 'string-transliterate' ,
@@ -618,12 +606,7 @@ export const SNIPPETS: BashCompletionItem[] = [
618
606
"sed ${1|-E,--regexp-extended|} ':${2:x} N $! b$2 ${3:command}' ${4:file}" ,
619
607
} ,
620
608
{
621
- documentation : 'node print' ,
622
- label : 'json' ,
623
- insertText : "jq '.${1:node}' ${2:file}" ,
624
- } ,
625
- {
626
- documentation : 'node print' ,
609
+ documentation : 'json print' ,
627
610
label : 'json' ,
628
611
insertText : "jq '.${1:node}' ${2:file}" ,
629
612
} ,
0 commit comments