Skip to content

Commit 45a3bdc

Browse files
committed
Sort by tree-sitter group name
This lets me check for completeness of the tree-sitter support.
1 parent 45427b2 commit 45a3bdc

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

lua/monokai.lua

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -446,42 +446,39 @@ end
446446

447447
M.load_plugin_syntax = function(palette)
448448
return {
449-
["@string"] = {
450-
fg = palette.yellow,
451-
},
452-
["@include"] = {
453-
fg = palette.pink,
454-
},
455-
["@variable"] = {
456-
fg = palette.white,
457-
},
458-
["@variable.builtin"] = {
459-
fg = palette.orange,
460-
},
461449
["@annotation"] = {
462450
fg = palette.green,
463451
},
452+
["@character"] = {
453+
fg = palette.yellow,
454+
},
464455
["@comment"] = {
465456
fg = palette.base6,
466457
style = 'italic',
467458
},
468-
["@constant"] = {
469-
fg = palette.aqua,
459+
["@conditional"] = {
460+
fg = palette.pink,
470461
},
471462
["@const.builtin"] = {
472463
fg = palette.purple,
473464
},
474465
["@const.macro"] = {
475466
fg = palette.purple,
476467
},
468+
["@constant"] = {
469+
fg = palette.aqua,
470+
},
477471
["@constructor"] = {
478472
fg = palette.aqua,
479473
},
480-
["@conditional"] = {
474+
["@exception"] = {
481475
fg = palette.pink,
482476
},
483-
["@character"] = {
484-
fg = palette.yellow,
477+
["@field"] = {
478+
fg = palette.white,
479+
},
480+
["@float"] = {
481+
fg = palette.purple,
485482
},
486483
["@function"] = {
487484
fg = palette.green,
@@ -494,6 +491,9 @@ M.load_plugin_syntax = function(palette)
494491
fg = palette.green,
495492
style = 'italic',
496493
},
494+
["@include"] = {
495+
fg = palette.pink,
496+
},
497497
["@keyword"] = {
498498
fg = palette.pink,
499499
style = 'italic',
@@ -508,6 +508,9 @@ M.load_plugin_syntax = function(palette)
508508
["@keyword.return"] = {
509509
fg = palette.pink,
510510
},
511+
["@label"] = {
512+
fg = palette.pink,
513+
},
511514
["@method"] = {
512515
fg = palette.green,
513516
},
@@ -529,10 +532,10 @@ M.load_plugin_syntax = function(palette)
529532
["@property"] = {
530533
fg = palette.white,
531534
},
532-
["@punctuation.delimiter"] = {
535+
["@punctuation.bracket"] = {
533536
fg = palette.white,
534537
},
535-
["@punctuation.bracket"] = {
538+
["@punctuation.delimiter"] = {
536539
fg = palette.white,
537540
},
538541
["@punctuation.special"] = {
@@ -541,35 +544,32 @@ M.load_plugin_syntax = function(palette)
541544
["@repeat"] = {
542545
fg = palette.pink,
543546
},
544-
["@string.regex"] = {
545-
fg = palette.purple,
547+
["@string"] = {
548+
fg = palette.yellow,
546549
},
547550
["@string.escape"] = {
548551
fg = palette.purple,
549552
},
553+
["@string.regex"] = {
554+
fg = palette.purple,
555+
},
550556
["@tag"] = {
551557
fg = palette.pink,
552558
},
553-
["@tag.delimiter"] = {
554-
fg = palette.white,
555-
},
556559
["@tag.attribute"] = {
557560
fg = palette.green,
558561
},
559-
["@label"] = {
560-
fg = palette.pink,
562+
["@tag.delimiter"] = {
563+
fg = palette.white,
561564
},
562565
["@type"] = {
563566
fg = palette.aqua,
564567
},
565-
["@exception"] = {
566-
fg = palette.pink,
567-
},
568-
["@field"] = {
568+
["@variable"] = {
569569
fg = palette.white,
570570
},
571-
["@float"] = {
572-
fg = palette.purple,
571+
["@variable.builtin"] = {
572+
fg = palette.orange,
573573
},
574574
dbui_tables = {
575575
fg = palette.white,

0 commit comments

Comments
 (0)