robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
1103d9fc10
master
1( string ) @ string 2 3( escape_sequence ) @ string.escape 4 5( capture 6( identifier ) @ type ) 7 8( predicate 9name : ( identifier ) @ function.call ) 10 11( named_node 12name : ( identifier ) @ variable ) 13 14( missing_node 15name : ( identifier ) @ variable ) 16 17( field_definition 18name : ( identifier ) @ variable.member ) 19 20( negated_field 21"!" @ operator 22( identifier ) @ property ) 23 24( comment ) @ comment @ spell 25 26( quantifier ) @ operator 27 28( predicate_type ) @ punctuation.special 29 30"." @ operator 31 32[ 33"[" 34"]" 35"(" 36")" 37] @ punctuation.bracket 38 39[ 40":" 41"/" 42] @ punctuation.delimiter 43 44[ 45"@" 46"#" 47] @ punctuation.special 48 49( predicate 50"." @ punctuation.special ) 51 52"_" @ character.special 53 54"MISSING" @ keyword 55 56(( parameters 57( identifier ) @ number ) 58(# match ? @ number "^ [ -+ ] ? [ 0 - 9 ] + ( . [ 0 - 9 ] + ) ? $" )) 59 60(( program 61. 62( comment ) * 63. 64( comment ) @ keyword.import @ nospell ) 65(# lua-match ? @ keyword.import "^;+ *inherits *:" )) 66 67(( program 68. 69( comment ) * 70. 71( comment ) @ keyword.directive @ nospell ) 72(# lua-match ? @ keyword.directive "^;+ *extends *$" )) 73 74(( comment ) @ keyword.directive @ nospell 75(# lua-match ? @ keyword.directive "^;+%s*format%-ignore%s*$" )) 76 77(( predicate 78name : ( identifier ) @ _name 79parameters : ( parameters 80. 81( capture ) ? 82. 83( identifier ) @ property )) 84(# eq ? @ _name "set" )) 85 86(( predicate 87name : ( identifier ) @ _name 88parameters : ( parameters 89( string 90"\"" @ string 91"\"" @ string ) @ string.regexp )) 92(# any-of ? @ _name "match" "not-match" "vim-match" "not-vim-match" "lua-match" "not-lua-match" )) 93 94(( predicate 95name : ( identifier ) @ _name 96parameters : ( parameters 97( string 98"\"" @ string 99"\"" @ string ) @ string.regexp 100. 101( string ) . )) 102(# any-of ? @ _name "gsub" "not-gsub" ))