Skip to content

Commit f807eba

Browse files
committed
Fix #4023 Enable keybinds on doctex
1 parent 81d72b8 commit f807eba

File tree

1 file changed

+46
-46
lines changed

1 file changed

+46
-46
lines changed

package.json

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -504,31 +504,31 @@
504504
"key": "ctrl+l alt+m",
505505
"mac": "cmd+l alt+m",
506506
"command": "latex-workshop.toggleMathPreviewPanel",
507-
"when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled"
507+
"when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled"
508508
},
509509
{
510510
"key": "ctrl+l alt+b",
511511
"mac": "cmd+l alt+b",
512512
"command": "latex-workshop.build",
513-
"when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
513+
"when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
514514
},
515515
{
516516
"key": "ctrl+l alt+c",
517517
"mac": "cmd+l alt+c",
518518
"command": "latex-workshop.clean",
519-
"when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
519+
"when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
520520
},
521521
{
522522
"key": "ctrl+l alt+v",
523523
"mac": "cmd+l alt+v",
524524
"command": "latex-workshop.view",
525-
"when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
525+
"when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
526526
},
527527
{
528528
"key": "ctrl+l alt+j",
529529
"mac": "cmd+l alt+j",
530530
"command": "latex-workshop.synctex",
531-
"when": "editorTextFocus && editorLangId == 'latex' && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
531+
"when": "editorTextFocus && editorLangId =~ /^latex$|^latex-expl3$|^doctex$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
532532
},
533533
{
534534
"key": "ctrl+l alt+x",
@@ -540,31 +540,31 @@
540540
"key": "ctrl+alt+m",
541541
"mac": "cmd+alt+m",
542542
"command": "latex-workshop.toggleMathPreviewPanel",
543-
"when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled"
543+
"when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled"
544544
},
545545
{
546546
"key": "ctrl+alt+b",
547547
"mac": "cmd+alt+b",
548548
"command": "latex-workshop.build",
549-
"when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
549+
"when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
550550
},
551551
{
552552
"key": "ctrl+alt+c",
553553
"mac": "cmd+alt+c",
554554
"command": "latex-workshop.clean",
555-
"when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
555+
"when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
556556
},
557557
{
558558
"key": "ctrl+alt+v",
559559
"mac": "cmd+alt+v",
560560
"command": "latex-workshop.view",
561-
"when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
561+
"when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
562562
},
563563
{
564564
"key": "ctrl+alt+j",
565565
"mac": "cmd+alt+j",
566566
"command": "latex-workshop.synctex",
567-
"when": "editorTextFocus && editorLangId == 'latex' && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
567+
"when": "editorTextFocus && editorLangId =~ /^latex$|^latex-expl3$|^doctex$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace"
568568
},
569569
{
570570
"key": "ctrl+alt+x",
@@ -575,188 +575,188 @@
575575
{
576576
"key": "ctrl+l [",
577577
"mac": "cmd+l [",
578-
"when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
578+
"when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
579579
"command": "latex-workshop.promote-sectioning"
580580
},
581581
{
582582
"key": "ctrl+l ]",
583583
"mac": "cmd+l ]",
584-
"when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
584+
"when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
585585
"command": "latex-workshop.demote-sectioning"
586586
},
587587
{
588588
"key": "ctrl+alt+[",
589589
"mac": "cmd+alt+[",
590-
"when": "!config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
590+
"when": "!config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
591591
"command": "latex-workshop.promote-sectioning"
592592
},
593593
{
594594
"key": "ctrl+alt+]",
595595
"mac": "cmd+alt+]",
596-
"when": "!config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
596+
"when": "!config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
597597
"command": "latex-workshop.demote-sectioning"
598598
},
599599
{
600600
"key": "ctrl+l ctrl+enter",
601601
"mac": "cmd+l cmd+enter",
602-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
602+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
603603
"command": "latex-workshop.shortcut.item"
604604
},
605605
{
606606
"key": "ctrl+l ctrl+b",
607607
"mac": "cmd+l cmd+b",
608-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
608+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
609609
"command": "latex-workshop.shortcut.textbf"
610610
},
611611
{
612612
"key": "ctrl+l ctrl+i",
613613
"mac": "cmd+l cmd+i",
614-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
614+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
615615
"command": "latex-workshop.shortcut.textit"
616616
},
617617
{
618618
"key": "ctrl+l ctrl+u",
619619
"mac": "cmd+l cmd+u",
620-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
620+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
621621
"command": "latex-workshop.shortcut.underline"
622622
},
623623
{
624624
"key": "ctrl+l ctrl+e",
625625
"mac": "cmd+l cmd+e",
626-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
626+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
627627
"command": "latex-workshop.shortcut.emph"
628628
},
629629
{
630630
"key": "ctrl+l ctrl+r",
631631
"mac": "cmd+l cmd+r",
632-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
632+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
633633
"command": "latex-workshop.shortcut.textrm"
634634
},
635635
{
636636
"key": "ctrl+l ctrl+t",
637637
"mac": "cmd+l cmd+t",
638-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
638+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
639639
"command": "latex-workshop.shortcut.texttt"
640640
},
641641
{
642642
"key": "ctrl+l ctrl+s",
643643
"mac": "cmd+l cmd+s",
644-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
644+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
645645
"command": "latex-workshop.shortcut.textsl"
646646
},
647647
{
648648
"key": "ctrl+l ctrl+c",
649649
"mac": "cmd+l cmd+c",
650-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
650+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
651651
"command": "latex-workshop.shortcut.textsc"
652652
},
653653
{
654654
"key": "ctrl+l ctrl+n",
655655
"mac": "cmd+l cmd+n",
656-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
656+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
657657
"command": "latex-workshop.shortcut.textnormal"
658658
},
659659
{
660660
"key": "ctrl+l ctrl+6",
661661
"mac": "cmd+l cmd+6",
662-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
662+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
663663
"command": "latex-workshop.shortcut.textsuperscript"
664664
},
665665
{
666666
"key": "ctrl+l ctrl+oem_minus",
667667
"mac": "cmd+l cmd+oem_minus",
668-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
668+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
669669
"command": "latex-workshop.shortcut.textsubscript"
670670
},
671671
{
672672
"key": "ctrl+m ctrl+b",
673673
"mac": "ctrl+shift+m cmd+b",
674-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
674+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
675675
"command": "latex-workshop.shortcut.mathbf"
676676
},
677677
{
678678
"key": "ctrl+m ctrl+i",
679679
"mac": "ctrl+shift+m cmd+i",
680-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
680+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
681681
"command": "latex-workshop.shortcut.mathit"
682682
},
683683
{
684684
"key": "ctrl+m ctrl+r",
685685
"mac": "ctrl+shift+m cmd+r",
686-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
686+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
687687
"command": "latex-workshop.shortcut.mathrm"
688688
},
689689
{
690690
"key": "ctrl+m ctrl+t",
691691
"mac": "ctrl+shift+m cmd+t",
692-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
692+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
693693
"command": "latex-workshop.shortcut.mathtt"
694694
},
695695
{
696696
"key": "ctrl+m ctrl+s",
697697
"mac": "ctrl+shift+m cmd+s",
698-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
698+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
699699
"command": "latex-workshop.shortcut.mathsf"
700700
},
701701
{
702702
"key": "ctrl+m ctrl+shift+b",
703703
"mac": "ctrl+shift+m cmd+shift+b",
704-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
704+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
705705
"command": "latex-workshop.shortcut.mathbb"
706706
},
707707
{
708708
"key": "ctrl+m ctrl+c",
709709
"mac": "ctrl+shift+m cmd+c",
710-
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
710+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
711711
"command": "latex-workshop.shortcut.mathcal"
712712
},
713713
{
714714
"command": "expandLineSelection",
715715
"key": "ctrl+l ctrl+l",
716716
"mac": "cmd+l cmd+l",
717-
"when": "textInputFocus && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/"
717+
"when": "textInputFocus && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/"
718718
},
719719
{
720720
"command": "editor.action.toggleTabFocusMode",
721721
"key": "ctrl+l ctrl+m",
722722
"mac": "cmd+l ctrl+shift+m",
723-
"when": "textInputFocus && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/"
723+
"when": "textInputFocus && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/"
724724
},
725725
{
726726
"key": "ctrl+l ctrl+w",
727727
"mac": "cmd+l cmd+w",
728-
"when": "editorTextFocus && !editorReadonly && editorHasSelection && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/",
728+
"when": "editorTextFocus && !editorReadonly && editorHasSelection && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/",
729729
"command": "latex-workshop.surround"
730730
},
731731
{
732732
"command": "latex-workshop.onEnterKey",
733733
"key": "enter",
734-
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && vim.active && vim.mode == 'Insert'"
734+
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && vim.active && vim.mode == 'Insert'"
735735
},
736736
{
737737
"command": "latex-workshop.onEnterKey",
738738
"key": "enter",
739-
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && vim.active && vim.mode == 'Insert'"
739+
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && vim.active && vim.mode == 'Insert'"
740740
},
741741
{
742742
"command": "latex-workshop.onEnterKey",
743743
"key": "enter",
744-
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !vim.active"
744+
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !vim.active"
745745
},
746746
{
747747
"command": "latex-workshop.onEnterKey",
748748
"key": "enter",
749-
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !vim.active"
749+
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !vim.active"
750750
},
751751
{
752752
"command": "latex-workshop.onAltEnterKey",
753753
"key": "alt+enter",
754-
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/"
754+
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/"
755755
},
756756
{
757757
"command": "latex-workshop.onAltEnterKey",
758758
"key": "alt+enter",
759-
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/"
759+
"when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/"
760760
}
761761
],
762762
"configurationDefaults": {
@@ -2477,24 +2477,24 @@
24772477
"menus": {
24782478
"editor/context": [
24792479
{
2480-
"when": "config.latex-workshop.showContextMenu && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace",
2480+
"when": "config.latex-workshop.showContextMenu && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace",
24812481
"command": "latex-workshop.build",
24822482
"group": "navigation@100"
24832483
},
24842484
{
2485-
"when": "config.latex-workshop.showContextMenu && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace",
2485+
"when": "config.latex-workshop.showContextMenu && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace",
24862486
"command": "latex-workshop.synctex",
24872487
"group": "navigation@101"
24882488
}
24892489
],
24902490
"editor/title": [
24912491
{
2492-
"when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace",
2492+
"when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace",
24932493
"command": "latex-workshop.view",
24942494
"group": "navigation@2"
24952495
},
24962496
{
2497-
"when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace",
2497+
"when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace",
24982498
"command": "latex-workshop.build",
24992499
"group": "navigation@1"
25002500
}

0 commit comments

Comments
 (0)