File tree Expand file tree Collapse file tree 4 files changed +68
-2
lines changed Expand file tree Collapse file tree 4 files changed +68
-2
lines changed Original file line number Diff line number Diff line change
1
+ syn match cssTextProp contained " \< text-space-\( collapse\| trim\)\> "
2
+ syn match cssTextProp contained " \< text-\( wrap\| spacing\)\> "
3
+ syn match cssTextProp contained " \< wrap-\( before\| after\| inside\)\> "
4
+ syn match cssTextProp contained " \< hyphenate-\( character\| limit-\( zone\| chars\| lines\| last\)\)\> "
5
+ syn keyword cssTextAttr contained spread punctuation
6
+ syn match cssTextAttr contained " \< preserve-\( auto\| trim\| breaks\| spaces\)\> "
7
+ syn match cssTextAttr contained " \< trim-inner\> "
8
+ syn match cssTextAttr contained " \< discard-\( before\| after\)\> "
9
+ syn match cssTextAttr contained " \< avoid-\( line\| flex\)\> "
10
+ syn match cssTextAttr contained " \< pre-wrap-auto\> "
11
+ syn match cssTextAttr contained " \< no-limit\> "
12
+ syn match cssTextAttr contained " \<\( trim\| space\) -\( start\| end\| adjacent\)\> "
13
+ syn match cssTextAttr contained " \< no-compress\> "
14
+ syn match cssTextAttr contained " \< ideograph-\( alpha\| numeric\)\> "
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ syn include @htmlCss syntax/css/css-scoping-1.vim
40
40
syn include @htmlCss syntax/css/css-shapes-1.vim
41
41
syn include @htmlCss syntax/css/css-snappoints-1.vim
42
42
syn include @htmlCss syntax/css/css-text-3.vim
43
+ syn include @htmlCss syntax/css/css-text-4.vim
43
44
syn include @htmlCss syntax/css/css-text-decor-3.vim
44
45
syn include @htmlCss syntax/css/css-values.vim
45
46
syn include @htmlCss syntax/css/css-variables.vim
Original file line number Diff line number Diff line change 494
494
display : reduced;
495
495
}
496
496
497
- .text {
497
+ .text-3 {
498
498
hyphens : manual;
499
499
line-break : loose;
500
500
overflow-wrap : strict;
504
504
display : full-width;
505
505
}
506
506
507
+ .text-4 {
508
+ text-space-collapse : preserve-auto;
509
+ text-space-trim : preserve-trim;
510
+ text-wrap : preserve-breaks;
511
+ wrap-before : preserve-spaces;
512
+ wrap-after : trim-inner;
513
+ wrap-inside : discard-before;
514
+ hyphenate-character : discard-after;
515
+ hyphenate-limit-zone : avoid-line;
516
+ hyphenate-limit-chars : avoid-flex;
517
+ hyphenate-limit-lines : pre-wrap-auto;
518
+ hyphenate-limit-last : no-limit;
519
+ text-spacing : spread;
520
+ display : trim-start;
521
+ display : space-start;
522
+ display : trim-end;
523
+ display : space-end;
524
+ display : trim-adjacent;
525
+ display : space-adjacent;
526
+ display : no-compress;
527
+ display : ideograph-alpha;
528
+ display : ideograph-numeric;
529
+ display : punctuation;
530
+ }
531
+
507
532
.text-decor-3 {
508
533
text-decoration-color : filled;
509
534
text-decoration-line : dot;
Original file line number Diff line number Diff line change 542
542
}
543
543
</ style >
544
544
< style >
545
- .text {
545
+ .text-3 {
546
546
hyphens : manual;
547
547
line-break : loose;
548
548
overflow-wrap : strict;
553
553
}
554
554
</ style >
555
555
< style >
556
+ .text-4 {
557
+ text-space-collapse : preserve-auto;
558
+ text-space-trim : preserve-trim;
559
+ text-wrap : preserve-breaks;
560
+ wrap-before : preserve-spaces;
561
+ wrap-after : trim-inner;
562
+ wrap-inside : discard-before;
563
+ hyphenate-character : discard-after;
564
+ hyphenate-limit-zone : avoid-line;
565
+ hyphenate-limit-chars : avoid-flex;
566
+ hyphenate-limit-lines : pre-wrap-auto;
567
+ hyphenate-limit-last : no-limit;
568
+ text-spacing : spread;
569
+ display : trim-start;
570
+ display : space-start;
571
+ display : trim-end;
572
+ display : space-end;
573
+ display : trim-adjacent;
574
+ display : space-adjacent;
575
+ display : no-compress;
576
+ display : ideograph-alpha;
577
+ display : ideograph-numeric;
578
+ display : punctuation;
579
+ }
580
+ </ style >
581
+ < style >
556
582
.text-decor-3 {
557
583
text-decoration-color : filled;
558
584
text-decoration-line : dot;
You can’t perform that action at this time.
0 commit comments