@shikijs/langs 3.20.0 → 3.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apex.mjs +1 -1
- package/dist/blade.mjs +1 -1
- package/dist/c3.d.mts +3 -0
- package/dist/c3.mjs +5 -0
- package/dist/fortran-fixed-form.mjs +1 -1
- package/dist/fortran-free-form.mjs +1 -1
- package/dist/gn.d.mts +3 -0
- package/dist/gn.mjs +5 -0
- package/dist/index.mjs +5 -0
- package/dist/kusto.mjs +1 -1
- package/dist/lean.mjs +1 -1
- package/dist/luau.mjs +1 -1
- package/dist/markdown-nix.mjs +1 -1
- package/dist/markdown-vue.mjs +1 -1
- package/dist/marko.mjs +1 -1
- package/dist/mbt.d.mts +3 -0
- package/dist/mbt.mjs +2 -0
- package/dist/mbti.d.mts +3 -0
- package/dist/mbti.mjs +2 -0
- package/dist/mermaid.mjs +1 -1
- package/dist/mojo.mjs +1 -1
- package/dist/moonbit.d.mts +3 -0
- package/dist/moonbit.mjs +5 -0
- package/dist/proto.mjs +1 -1
- package/dist/r.mjs +1 -1
- package/dist/razor.mjs +1 -1
- package/dist/svelte.mjs +1 -1
- package/dist/vue-directives.mjs +1 -1
- package/dist/vue-html.mjs +1 -3
- package/dist/vue-interpolations.mjs +1 -1
- package/dist/vue-vine.mjs +1 -3
- package/dist/vue.mjs +3 -3
- package/package.json +8 -3
package/dist/gn.d.mts
ADDED
package/dist/gn.mjs
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"GN\",\"name\":\"gn\",\"patterns\":[{\"include\":\"#expression\"}],\"repository\":{\"boolean\":{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.boolean.gn\"},\"builtins\":{\"patterns\":[{\"match\":\"\\\\b(action|action_foreach|bundle_data|copy|create_bundle|executable|generated_file|group|loadable_module|rust_library|rust_proc_macro|shared_library|source_set|static_library|target)\\\\b\",\"name\":\"support.function.gn\"},{\"match\":\"\\\\b(assert|config|declare_args|defined|exec_script|filter_exclude|filter_include|filter_labels_exclude|filter_labels_include|foreach|forward_variables_from|get_label_info|get_path_info|get_target_outputs|getenv|import|label_matches|not_needed|pool|print|print_stack_trace|process_file_template|read_file|rebase_path|set_default_toolchain|set_defaults|split_list|string_join|string_replace|string_split|template|tool|toolchain|write_file)\\\\b\",\"name\":\"support.function.gn\"},{\"match\":\"\\\\b(current_cpu|current_os|current_toolchain|default_toolchain|gn_version|host_cpu|host_os|invoker|python_path|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_name|target_os|target_out_dir)\\\\b\",\"name\":\"variable.language.gn\"},{\"match\":\"\\\\b(aliased_deps|all_dependent_configs|allow_circular_includes_from|arflags|args|asmflags|assert_no_deps|bridge_header|bundle_contents_dir|bundle_deps_filter|bundle_executable_dir|bundle_resources_dir|bundle_root_dir|cflags|cflags_cc??|cflags_objcc??|check_includes|code_signing_args|code_signing_outputs|code_signing_script|code_signing_sources|complete_static_lib|configs|contents|crate_name|crate_root|crate_type|data|data_deps|data_keys|defines|depfile|deps|externs|framework_dirs|frameworks|friend|gen_deps|include_dirs|inputs|ldflags|lib_dirs|libs|metadata|mnemonic|module_name|output_conversion|output_dir|output_extension|output_name|output_prefix_override|outputs|partial_info_plist|pool|post_processing_args|post_processing_outputs|post_processing_script|post_processing_sources|precompiled_header|precompiled_header_type|precompiled_source|product_type|public|public_configs|public_deps|rebase|response_file_contents|rustflags|script|sources|swiftflags|testonly|transparent|visibility|walk_keys|weak_frameworks|write_runtime_deps|xcasset_compiler_flags|xcode_extra_attributes|xcode_test_application_name)\\\\b\",\"name\":\"variable.language.gn\"}]},\"call\":{\"begin\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\(\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.gn\"}},\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#expression\"}]},\"comment\":{\"begin\":\"#\",\"end\":\"$\",\"name\":\"comment.line.number-sign.gn\"},\"expression\":{\"patterns\":[{\"include\":\"#keywords\"},{\"include\":\"#builtins\"},{\"include\":\"#call\"},{\"include\":\"#literals\"},{\"include\":\"#identifier\"},{\"include\":\"#operators\"},{\"include\":\"#comment\"}]},\"identifier\":{\"match\":\"\\\\b[A-Z_a-z][0-9A-Z_a-z]*\\\\b\",\"name\":\"variable.general.gn\"},\"keywords\":{\"match\":\"\\\\b(if|else)\\\\b\",\"name\":\"keyword.control.if.gn\"},\"literals\":{\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#number\"},{\"include\":\"#boolean\"}]},\"number\":{\"match\":\"\\\\b-?\\\\d+\\\\b\",\"name\":\"constant.numeric.gn\"},\"operators\":{\"match\":\"\\\\b(\\\\+=??|==|!=|-=??|<=??|[!=>]|>=|&&|\\\\|\\\\|\\\\.)\\\\b\",\"name\":\"keyword.operator.gn\"},\"string\":{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.gn\",\"patterns\":[{\"match\":\"\\\\\\\\[\\\"$\\\\\\\\]\",\"name\":\"constant.character.escape.gn\"},{\"match\":\"\\\\$0x\\\\h\\\\h\",\"name\":\"constant.character.hex.gn\"},{\"begin\":\"\\\\$\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.gn\"}},\"contentName\":\"meta.embedded.substitution.gn\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.gn\"}},\"patterns\":[{\"include\":\"#expression\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.template-expression.begin.gn\"},\"2\":{\"name\":\"meta.embedded.substitution.gn variable.general.gn\"}},\"match\":\"(\\\\$)([A-Z_a-z][0-9A-Z_a-z]*)\"}]}},\"scopeName\":\"source.gn\"}"))
|
|
2
|
+
|
|
3
|
+
export default [
|
|
4
|
+
lang
|
|
5
|
+
]
|
package/dist/index.mjs
CHANGED
|
@@ -30,6 +30,7 @@ export const languageNames = [
|
|
|
30
30
|
"blade",
|
|
31
31
|
"bsl",
|
|
32
32
|
"c",
|
|
33
|
+
"c3",
|
|
33
34
|
"cadence",
|
|
34
35
|
"cairo",
|
|
35
36
|
"clarity",
|
|
@@ -85,6 +86,7 @@ export const languageNames = [
|
|
|
85
86
|
"glimmer-js",
|
|
86
87
|
"glimmer-ts",
|
|
87
88
|
"glsl",
|
|
89
|
+
"gn",
|
|
88
90
|
"gnuplot",
|
|
89
91
|
"go",
|
|
90
92
|
"graphql",
|
|
@@ -141,6 +143,7 @@ export const languageNames = [
|
|
|
141
143
|
"mermaid",
|
|
142
144
|
"mipsasm",
|
|
143
145
|
"mojo",
|
|
146
|
+
"moonbit",
|
|
144
147
|
"move",
|
|
145
148
|
"narrat",
|
|
146
149
|
"nextflow",
|
|
@@ -293,6 +296,8 @@ export const languageAliasNames = [
|
|
|
293
296
|
"lisp",
|
|
294
297
|
"lit",
|
|
295
298
|
"makefile",
|
|
299
|
+
"mbt",
|
|
300
|
+
"mbti",
|
|
296
301
|
"md",
|
|
297
302
|
"mediawiki",
|
|
298
303
|
"mips",
|
package/dist/kusto.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Kusto\",\"fileTypes\":[\"csl\",\"kusto\",\"kql\"],\"name\":\"kusto\",\"patterns\":[{\"match\":\"\\\\b(by|from|of|to|step|with)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"match\":\"\\\\b(let|set|alias|declare|pattern|query_parameters|restrict|access|set)\\\\b\",\"name\":\"keyword.control.kusto\"},{\"match\":\"\\\\b(and|or|has_all|has_any|matches|regex)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Strings\"}]}},\"match\":\"\\\\b(cluster|database)(?:\\\\s*\\\\(\\\\s*(.+?)\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.special.database.kusto\"},{\"match\":\"\\\\b(external_table|materialized_view|materialize|table|toscalar)\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"(?<!\\\\w)(!?between)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]},\"3\":{\"patterns\":[{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(binary_(?:and|or|shift_left|shift_right|xor))(?:\\\\s*\\\\(\\\\s*(\\\\w+)\\\\s*,\\\\s*(\\\\w+)\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.scalar.bitwise.kusto\"},{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(bi(?:nary_not|tset_count_ones))(?:\\\\s*\\\\(\\\\s*(\\\\w+)\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.scalar.bitwise.kusto\"},{\"match\":\"(?<!\\\\w)(!?in~?)(?!\\\\w)\",\"name\":\"keyword.other.operator.kusto\"},{\"match\":\"(?<!\\\\w)(!?(?:contains|endswith|hasprefix|hassuffix|has|startswith)(?:_cs)?)(?!\\\\w)\",\"name\":\"keyword.other.operator.kusto\"},{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#DateTimeTimeSpanDataTypes\"},{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]},\"3\":{\"patterns\":[{\"include\":\"#DateTimeTimeSpanDataTypes\"},{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]},\"4\":{\"patterns\":[{\"include\":\"#DateTimeTimeSpanDataTypes\"},{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(range)\\\\s*\\\\((?:\\\\s*(\\\\w+(?:\\\\(.*?\\\\))?)\\\\s*,\\\\s*(\\\\w+(?:\\\\(.*?\\\\))?)\\\\s*,?\\\\s*{0,1}(\\\\w+(?:\\\\(.*?\\\\))?)?\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.scalar.function.range.kusto\"},{\"match\":\"\\\\b(abs|acos|around|array_concat|array_iff|array_index_of|array_length|array_reverse|array_rotate_left|array_rotate_right|array_shift_left|array_shift_right|array_slice|array_sort_asc|array_sort_desc|array_split|array_sum|asin|assert|atan2?|bag_has_key|bag_keys|bag_merge|bag_remove_keys|base64_decode_toarray|base64_decode_tostring|base64_decode_toguid|base64_encode_fromarray|base64_encode_tostring|base64_encode_fromguid|beta_cdf|beta_inv|beta_pdf|bin_at|bin_auto|case|ceiling|coalesce|column_ifexists|convert_angle|convert_energy|convert_force|convert_length|convert_mass|convert_speed|convert_temperature|convert_volume|cos|cot|countof|current_cluster_endpoint|current_database|current_principal_details|current_principal_is_member_of|current_principal|cursor_after|cursor_before_or_at|cursor_current|current_cursor|dcount_hll|degrees|dynamic_to_json|estimate_data_size|exp10|exp2?|extent_id|extent_tags|extract_all|extract_json|extractjson|extract|floor|format_bytes|format_ipv4_mask|format_ipv4|gamma|gettype|gzip_compress_to_base64_string|gzip_decompress_from_base64_string|has_any_index|has_any_ipv4_prefix|has_any_ipv4|has_ipv4_prefix|has_ipv4|hash_combine|hash_many|hash_md5|hash_sha1|hash_sha256|hash_xxhash64|hash|iff|iif|indexof_regex|indexof|ingestion_time|ipv4_compare|ipv4_is_in_range|ipv4_is_in_any_range|ipv4_is_match|ipv4_is_private|ipv4_netmask_suffix|ipv6_compare|ipv6_is_match|isascii|isempty|isfinite|isinf|isnan|isnotempty|notempty|isnotnull|notnull|isnull|isutf8|jaccard_index|log10|log2|loggamma|log|make_string|max_of|min_of|new_guid|not|bag_pack|pack_all|pack_array|pack_dictionary|pack|parse_command_line|parse_csv|parse_ipv4_mask|parse_ipv4|parse_ipv6_mask|parse_ipv6|parse_path|parse_urlquery|parse_url|parse_user_agent|parse_version|parse_xml|percentile_tdigest|percentile_array_tdigest|percentrank_tdigest|pi|pow|radians|rand|rank_tdigest|regex_quote|repeat|replace_regex|replace_string|reverse|round|set_difference|set_has_element|set_intersect|set_union|sign|sin|split|sqrt|strcat_array|strcat_delim|strcmp|strcat|string_size|strlen|strrep|substring|tan|to_utf8|tobool|todecimal|todouble|toreal|toguid|tohex|toint|tolong|tolower|tostring|toupper|translate|treepath|trim_end|trim_start|trim|unixtime_microseconds_todatetime|unixtime_milliseconds_todatetime|unixtime_nanoseconds_todatetime|unixtime_seconds_todatetime|url_decode|url_encode_component|url_encode|welch_test|zip|zlib_compress_to_base64_string|zlib_decompress_from_base64_string)\\\\b\",\"name\":\"support.function.kusto\"},{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#DateTimeTimeSpanDataTypes\"},{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]},\"3\":{\"patterns\":[{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(bin)(?:\\\\s*\\\\(\\\\s*(.+?)\\\\s*,\\\\s*(.+?)\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.scalar.function.bin.kusto\"},{\"match\":\"\\\\b(count)\\\\s*\\\\(\\\\s*\\\\)(?!\\\\w)\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\b(arg_max|arg_min|avgif|avg|binary_all_and|binary_all_or|binary_all_xor|buildschema|countif|dcount|dcountif|hll|hll_merge|make_bag_if|make_bag|make_list_with_nulls|make_list_if|make_list|make_set_if|make_set|maxif|max|minif|min|percentilesw_array|percentiles_array|percentilesw|percentilew|percentiles?|stdevif|stdevp?|sumif|sum|take_anyif|take_any|tdigest_merge|merge_tdigest|tdigest|varianceif|variancep?)\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\b(geo_(?:distance_2points|distance_point_to_line|distance_point_to_polygon|intersects_2lines|intersects_2polygons|intersects_line_with_polygon|intersection_2lines|intersection_2polygons|intersection_line_with_polygon|line_centroid|line_densify|line_length|line_simplify|polygon_area|polygon_centroid|polygon_densify|polygon_perimeter|polygon_simplify|polygon_to_s2cells|point_in_circle|point_in_polygon|point_to_geohash|point_to_h3cell|point_to_s2cell|geohash_to_central_point|geohash_neighbors|geohash_to_polygon|s2cell_to_central_point|s2cell_neighbors|s2cell_to_polygon|h3cell_to_central_point|h3cell_neighbors|h3cell_to_polygon|h3cell_parent|h3cell_children|h3cell_level|h3cell_rings|simplify_polygons_array|union_lines_array|union_polygons_array))\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\b(next|prev|row_cumsum|row_number|row_rank|row_window_session)\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\.(create-or-alter|replace)\",\"name\":\"keyword.control.kusto\"},{\"match\":\"(?<=let )[^\\\\n]+(?=\\\\W*=)\",\"name\":\"entity.function.name.lambda.kusto\"},{\"match\":\"\\\\b(folder|docstring|skipvalidation)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"match\":\"\\\\b(function)\\\\b\",\"name\":\"storage.type.kusto\"},{\"match\":\"\\\\b(bool|decimal|dynamic|guid|int|long|real|string)\\\\b\",\"name\":\"storage.type.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"variable.other.kusto\"}},\"match\":\"\\\\b(as)\\\\s+(\\\\w+)\\\\b\",\"name\":\"meta.query.as.kusto\"},{\"match\":\"\\\\b(datatable)(?=\\\\W*\\\\()\",\"name\":\"keyword.other.query.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"keyword.other.operator.kusto\"}},\"match\":\"\\\\b(facet)(?:\\\\s+(by))?\\\\b\",\"name\":\"meta.query.facet.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"entity.name.function.kusto\"}},\"match\":\"\\\\b(invoke)(?:\\\\s+(\\\\w+))?\\\\b\",\"name\":\"meta.query.invoke.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"keyword.other.operator.kusto\"},\"3\":{\"name\":\"variable.other.column.kusto\"}},\"match\":\"\\\\b(order)(?:\\\\s+(by)\\\\s+(\\\\w+))?\\\\b\",\"name\":\"meta.query.order.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"variable.other.column.kusto\"},\"3\":{\"name\":\"keyword.other.operator.kusto\"},\"4\":{\"patterns\":[{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]},\"5\":{\"name\":\"keyword.other.operator.kusto\"},\"6\":{\"patterns\":[{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]},\"7\":{\"name\":\"keyword.other.operator.kusto\"},\"8\":{\"patterns\":[{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(range)\\\\s+(\\\\w+)\\\\s+(from)\\\\s+(\\\\w+(?:\\\\(\\\\w*\\\\))?)\\\\s+(to)\\\\s+(\\\\w+(?:\\\\(\\\\w*\\\\))?)\\\\s+(step)\\\\s+(\\\\w+(?:\\\\(\\\\w*\\\\))?)\\\\b\",\"name\":\"meta.query.range.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(sample)(?:\\\\s+(\\\\d+))?(?![-\\\\w])\",\"name\":\"meta.query.sample.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]},\"3\":{\"name\":\"keyword.other.operator.kusto\"},\"4\":{\"name\":\"variable.other.column.kusto\"}},\"match\":\"\\\\b(sample-distinct)(?:\\\\s+(\\\\d+)\\\\s+(of)\\\\s+(\\\\w+))?\\\\b\",\"name\":\"meta.query.sample-distinct.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"keyword.other.operator.kusto\"}},\"match\":\"\\\\b(sort)(?:\\\\s+(by))?\\\\b\",\"name\":\"meta.query.sort.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(take|limit)\\\\s+(\\\\d+)\\\\b\",\"name\":\"meta.query.take.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]},\"3\":{\"name\":\"keyword.other.operator.kusto\"},\"4\":{\"name\":\"variable.other.column.kusto\"}},\"match\":\"\\\\b(top)(?:\\\\s+(\\\\d+)\\\\s+(by)\\\\s+(\\\\w+))?(?![-\\\\w])\\\\b\",\"name\":\"meta.query.top.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]},\"3\":{\"name\":\"keyword.other.operator.kusto\"},\"4\":{\"name\":\"variable.other.column.kusto\"},\"5\":{\"name\":\"keyword.other.operator.kusto\"},\"6\":{\"name\":\"variable.other.column.kusto\"}},\"match\":\"\\\\b(top-hitters)(?:\\\\s+(\\\\d+)\\\\s+(of)\\\\s+(\\\\w+)(?:\\\\s+(by)\\\\s+(\\\\w+))?)?\\\\b\",\"name\":\"meta.query.top-hitters.kusto\"},{\"match\":\"\\\\b(consume|count|distinct|evaluate|extend|externaldata|find|fork|getschema|join|lookup|make-series|mv-apply|mv-expand|project-away|project-keep|project-rename|project-reorder|project|parse|parse-where|parse-kv|partition|print|reduce|render|scan|search|serialize|shuffle|summarize|top-nested|union|where)\\\\b\",\"name\":\"keyword.other.query.kusto\"},{\"match\":\"\\\\b(active_users_count|activity_counts_metrics|activity_engagement|new_activity_metrics|activity_metrics|autocluster|azure_digital_twins_query_request|bag_unpack|basket|cosmosdb_sql_request|dcount_intersect|diffpatterns|funnel_sequence_completion|funnel_sequence|http_request_post|http_request|infer_storage_schema|ipv4_lookup|mysql_request|narrow|pivot|preview|rolling_percentile|rows_near|schema_merge|session_count|sequence_detect|sliding_window_counts|sql_request)\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\b(on|kind|hint\\\\.remote|hint\\\\.strategy)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"match\":\"(\\\\$(?:left|right))\\\\b\",\"name\":\"keyword.other.kusto\"},{\"match\":\"\\\\b(innerunique|inner|leftouter|rightouter|fullouter|leftanti|anti|leftantisemi|rightanti|rightantisemi|leftsemi|rightsemi|broadcast)\\\\b\",\"name\":\"keyword.other.kusto\"},{\"match\":\"\\\\b(series_(?:abs|acos|add|asin|atan|cos|decompose|decompose_anomalies|decompose_forecast|divide|equals|exp|fft|fill_backward|fill_const|fill_forward|fill_linear|fir|fit_2lines_dynamic|fit_2lines|fit_line_dynamic|fit_line|fit_poly|greater_equals|greater|ifft|iir|less_equals|less|multiply|not_equals|outliers|pearson_correlation|periods_detect|periods_validate|pow|seasonal|sign|sin|stats|stats_dynamic|subtract|tan))\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\b(bag|array)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"match\":\"\\\\b(asc|desc|nulls first|nulls last)\\\\b\",\"name\":\"keyword.other.kusto\"},{\"match\":\"\\\\b(regex|simple|relaxed)\\\\b\",\"name\":\"keyword.other.kusto\"},{\"match\":\"\\\\b(anomalychart|areachart|barchart|card|columnchart|ladderchart|linechart|piechart|pivotchart|scatterchart|stackedareachart|timechart|timepivot)\\\\b\",\"name\":\"support.function.kusto\"},{\"include\":\"#Strings\"},{\"match\":\"\\\\{.*?}\",\"name\":\"string.other.kusto\"},{\"match\":\"//.*\",\"name\":\"comment.line.kusto\"},{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#DateTimeTimeSpanDataTypes\"},{\"include\":\"#Numeric\"},{\"match\":\"\\\\b(true|false|null)\\\\b\",\"name\":\"constant.language.kusto\"},{\"match\":\"\\\\b(anyif|any|array_strcat|base64_decodestring|base64_encodestring|make_dictionary|makelist|makeset|mvexpand|todynamic|parse_json|replace|weekofyear)(?=\\\\W*\\\\(|\\\\b)\",\"name\":\"invalid.deprecated.kusto\"}],\"repository\":{\"DateTimeTimeSpanDataTypes\":{\"patterns\":[{\"match\":\"\\\\b(datetime|timespan|time)\\\\b\",\"name\":\"storage.type.kusto\"}]},\"DateTimeTimeSpanFunctions\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#DateTimeTimeSpanDataTypes\"}]},\"3\":{\"patterns\":[{\"include\":\"#Strings\"}]}},\"match\":\"\\\\b(format_datetime)(?:\\\\s*\\\\(\\\\s*(.+?)\\\\s*,\\\\s*([\\\"'].*?[\\\"'])\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.scalar.function.format_datetime.kusto\"},{\"match\":\"\\\\b(ago|datetime_add|datetime_diff|datetime_local_to_utc|datetime_part|datetime_utc_to_local|dayofmonth|dayofweek|dayofyear|endofday|endofmonth|endofweek|endofyear|format_timespan|getmonth|getyear|hourofday|make_datetime|make_timespan|monthofyear|now|startofday|startofmonth|startofweek|startofyear|todatetime|totimespan|week_of_year)(?=\\\\W*\\\\()\",\"name\":\"support.function.kusto\"}]},\"Escapes\":{\"patterns\":[{\"match\":\"(\\\\\\\\[\\\"'\\\\\\\\])\",\"name\":\"constant.character.escape.kusto\"}]},\"Numeric\":{\"patterns\":[{\"match\":\"\\\\b((0([Xx])\\\\h*)|(([0-9]+\\\\.?[0-9]*+)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)([Ll]|UL|ul|[FUfu]|ll|LL|ull|ULL)?(?=\\\\b|\\\\w)\",\"name\":\"constant.numeric.kusto\"}]},\"Strings\":{\"patterns\":[{\"begin\":\"([@h]?\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.kusto\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.kusto\"}},\"name\":\"string.quoted.double.kusto\",\"patterns\":[{\"include\":\"#Escapes\"}]},{\"begin\":\"([@h]?')\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.kusto\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.kusto\"}},\"name\":\"string.quoted.single.kusto\",\"patterns\":[{\"include\":\"#Escapes\"}]},{\"begin\":\"([@h]?```)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.kusto\"}},\"end\":\"```\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.kusto\"}},\"name\":\"string.quoted.multi.kusto\",\"patterns\":[{\"include\":\"#Escapes\"}]}]},\"TimeSpanLiterals\":{\"patterns\":[{\"match\":\"[-+]?(?:\\\\d*\\\\.)?\\\\d+(?:microseconds?|ticks?|seconds?|ms|[dhms])\\\\b\",\"name\":\"constant.numeric.kusto\"}]}},\"scopeName\":\"source.kusto\",\"aliases\":[\"kql\"]}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Kusto\",\"fileTypes\":[\"csl\",\"kusto\",\"kql\"],\"name\":\"kusto\",\"patterns\":[{\"match\":\"\\\\b(by|from|of|to|step|with)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"match\":\"\\\\b(let|set|alias|declare|pattern|query_parameters|restrict|access|set)\\\\b\",\"name\":\"keyword.control.kusto\"},{\"match\":\"\\\\b(and|or|has_all|has_any|matches|regex)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Strings\"}]}},\"match\":\"\\\\b(cluster|database)(?:\\\\s*\\\\(\\\\s*(.+?)\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.special.database.kusto\"},{\"match\":\"\\\\b(external_table|materialized_view|materialize|table|toscalar)\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"(?<!\\\\w)(!?between)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]},\"3\":{\"patterns\":[{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(binary_(?:and|or|shift_left|shift_right|xor))(?:\\\\s*\\\\(\\\\s*(\\\\w+)\\\\s*,\\\\s*(\\\\w+)\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.scalar.bitwise.kusto\"},{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(bi(?:nary_not|tset_count_ones))(?:\\\\s*\\\\(\\\\s*(\\\\w+)\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.scalar.bitwise.kusto\"},{\"match\":\"(?<!\\\\w)(!?in~?)(?!\\\\w)\",\"name\":\"keyword.other.operator.kusto\"},{\"match\":\"(?<!\\\\w)(!?(?:contains|endswith|hasprefix|hassuffix|has|startswith)(?:_cs)?)(?!\\\\w)\",\"name\":\"keyword.other.operator.kusto\"},{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#DateTimeTimeSpanDataTypes\"},{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]},\"3\":{\"patterns\":[{\"include\":\"#DateTimeTimeSpanDataTypes\"},{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]},\"4\":{\"patterns\":[{\"include\":\"#DateTimeTimeSpanDataTypes\"},{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(range)\\\\s*\\\\((?:\\\\s*(\\\\w+(?:\\\\(.*?\\\\))?)\\\\s*,\\\\s*(\\\\w+(?:\\\\(.*?\\\\))?)\\\\s*,?\\\\s*{0,1}(\\\\w+(?:\\\\(.*?\\\\))?)?\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.scalar.function.range.kusto\"},{\"match\":\"\\\\b(abs|acos|around|array_concat|array_iff|array_index_of|array_length|array_reverse|array_rotate_left|array_rotate_right|array_shift_left|array_shift_right|array_slice|array_sort_asc|array_sort_desc|array_split|array_sum|asin|assert|atan2?|bag_has_key|bag_keys|bag_merge|bag_remove_keys|base64_decode_toarray|base64_decode_tostring|base64_decode_toguid|base64_encode_fromarray|base64_encode_tostring|base64_encode_fromguid|beta_cdf|beta_inv|beta_pdf|bin_at|bin_auto|case|ceiling|coalesce|column_ifexists|convert_angle|convert_energy|convert_force|convert_length|convert_mass|convert_speed|convert_temperature|convert_volume|cos|cot|countof|current_cluster_endpoint|current_database|current_principal_details|current_principal_is_member_of|current_principal|cursor_after|cursor_before_or_at|cursor_current|current_cursor|dcount_hll|degrees|dynamic_to_json|estimate_data_size|exp10|exp2?|extent_id|extent_tags|extract_all|extract_json|extractjson|extract|floor|format_bytes|format_ipv4_mask|format_ipv4|gamma|gettype|gzip_compress_to_base64_string|gzip_decompress_from_base64_string|has_any_index|has_any_ipv4_prefix|has_any_ipv4|has_ipv4_prefix|has_ipv4|hash_combine|hash_many|hash_md5|hash_sha1|hash_sha256|hash_xxhash64|hash|iff|iif|indexof_regex|indexof|ingestion_time|ipv4_compare|ipv4_is_in_range|ipv4_is_in_any_range|ipv4_is_match|ipv4_is_private|ipv4_netmask_suffix|ipv6_compare|ipv6_is_match|isascii|isempty|isfinite|isinf|isnan|isnotempty|notempty|isnotnull|notnull|isnull|isutf8|jaccard_index|log10|log2|loggamma|log|make_string|max_of|min_of|new_guid|not|bag_pack|pack_all|pack_array|pack_dictionary|pack|parse_command_line|parse_csv|parse_ipv4_mask|parse_ipv4|parse_ipv6_mask|parse_ipv6|parse_path|parse_urlquery|parse_url|parse_user_agent|parse_version|parse_xml|percentile_tdigest|percentile_array_tdigest|percentrank_tdigest|pi|pow|radians|rand|rank_tdigest|regex_quote|repeat|replace_regex|replace_string|reverse|round|set_difference|set_has_element|set_intersect|set_union|sign|sin|split|sqrt|strcat_array|strcat_delim|strcmp|strcat|string_size|strlen|strrep|substring|tan|to_utf8|tobool|todecimal|todouble|toreal|toguid|tohex|toint|tolong|tolower|tostring|toupper|translate|treepath|trim_end|trim_start|trim|unixtime_microseconds_todatetime|unixtime_milliseconds_todatetime|unixtime_nanoseconds_todatetime|unixtime_seconds_todatetime|url_decode|url_encode_component|url_encode|welch_test|zip|zlib_compress_to_base64_string|zlib_decompress_from_base64_string)\\\\b\",\"name\":\"support.function.kusto\"},{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#DateTimeTimeSpanDataTypes\"},{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]},\"3\":{\"patterns\":[{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(bin)(?:\\\\s*\\\\(\\\\s*(.+?)\\\\s*,\\\\s*(.+?)\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.scalar.function.bin.kusto\"},{\"match\":\"\\\\b(count)\\\\s*\\\\(\\\\s*\\\\)(?!\\\\w)\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\b(arg_max|arg_min|avgif|avg|binary_all_and|binary_all_or|binary_all_xor|buildschema|countif|dcount|dcountif|hll|hll_merge|make_bag_if|make_bag|make_list_with_nulls|make_list_if|make_list|make_set_if|make_set|maxif|max|minif|min|percentilesw_array|percentiles_array|percentilesw|percentilew|percentiles?|stdevif|stdevp?|sumif|sum|take_anyif|take_any|tdigest_merge|merge_tdigest|tdigest|varianceif|variancep?)\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\b(geo_(?:distance_2points|distance_point_to_line|distance_point_to_polygon|intersects_2lines|intersects_2polygons|intersects_line_with_polygon|intersection_2lines|intersection_2polygons|intersection_line_with_polygon|line_centroid|line_densify|line_length|line_simplify|polygon_area|polygon_centroid|polygon_densify|polygon_perimeter|polygon_simplify|polygon_to_s2cells|point_in_circle|point_in_polygon|point_to_geohash|point_to_h3cell|point_to_s2cell|geohash_to_central_point|geohash_neighbors|geohash_to_polygon|s2cell_to_central_point|s2cell_neighbors|s2cell_to_polygon|h3cell_to_central_point|h3cell_neighbors|h3cell_to_polygon|h3cell_parent|h3cell_children|h3cell_level|h3cell_rings|simplify_polygons_array|union_lines_array|union_polygons_array))\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\b(next|prev|row_cumsum|row_number|row_rank|row_window_session)\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\.(create-or-alter|replace)\",\"name\":\"keyword.control.kusto\"},{\"match\":\"(?<=let )[^\\\\n]+(?=\\\\W*=)\",\"name\":\"entity.function.name.lambda.kusto\"},{\"match\":\"\\\\b(folder|docstring|skipvalidation)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"match\":\"\\\\b(function)\\\\b\",\"name\":\"storage.type.kusto\"},{\"match\":\"\\\\b(bool|boolean|decimal|dynamic|guid|int|long|real|string)\\\\b\",\"name\":\"storage.type.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"variable.other.kusto\"}},\"match\":\"\\\\b(as)\\\\s+(\\\\w+)\\\\b\",\"name\":\"meta.query.as.kusto\"},{\"match\":\"\\\\b(datatable)(?=\\\\W*\\\\()\",\"name\":\"keyword.other.query.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"keyword.other.operator.kusto\"}},\"match\":\"\\\\b(facet)(?:\\\\s+(by))?\\\\b\",\"name\":\"meta.query.facet.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"entity.name.function.kusto\"}},\"match\":\"\\\\b(invoke)(?:\\\\s+(\\\\w+))?\\\\b\",\"name\":\"meta.query.invoke.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"keyword.other.operator.kusto\"},\"3\":{\"name\":\"variable.other.column.kusto\"}},\"match\":\"\\\\b(order)(?:\\\\s+(by)\\\\s+(\\\\w+))?\\\\b\",\"name\":\"meta.query.order.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"variable.other.column.kusto\"},\"3\":{\"name\":\"keyword.other.operator.kusto\"},\"4\":{\"patterns\":[{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]},\"5\":{\"name\":\"keyword.other.operator.kusto\"},\"6\":{\"patterns\":[{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]},\"7\":{\"name\":\"keyword.other.operator.kusto\"},\"8\":{\"patterns\":[{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(range)\\\\s+(\\\\w+)\\\\s+(from)\\\\s+(\\\\w+(?:\\\\(\\\\w*\\\\))?)\\\\s+(to)\\\\s+(\\\\w+(?:\\\\(\\\\w*\\\\))?)\\\\s+(step)\\\\s+(\\\\w+(?:\\\\(\\\\w*\\\\))?)\\\\b\",\"name\":\"meta.query.range.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(sample)(?:\\\\s+(\\\\d+))?(?![-\\\\w])\",\"name\":\"meta.query.sample.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]},\"3\":{\"name\":\"keyword.other.operator.kusto\"},\"4\":{\"name\":\"variable.other.column.kusto\"}},\"match\":\"\\\\b(sample-distinct)(?:\\\\s+(\\\\d+)\\\\s+(of)\\\\s+(\\\\w+))?\\\\b\",\"name\":\"meta.query.sample-distinct.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"name\":\"keyword.other.operator.kusto\"}},\"match\":\"\\\\b(sort)(?:\\\\s+(by))?\\\\b\",\"name\":\"meta.query.sort.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]}},\"match\":\"\\\\b(take|limit)\\\\s+(\\\\d+)\\\\b\",\"name\":\"meta.query.take.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]},\"3\":{\"name\":\"keyword.other.operator.kusto\"},\"4\":{\"name\":\"variable.other.column.kusto\"}},\"match\":\"\\\\b(top)(?:\\\\s+(\\\\d+)\\\\s+(by)\\\\s+(\\\\w+))?(?![-\\\\w])\\\\b\",\"name\":\"meta.query.top.kusto\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.query.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#Numeric\"}]},\"3\":{\"name\":\"keyword.other.operator.kusto\"},\"4\":{\"name\":\"variable.other.column.kusto\"},\"5\":{\"name\":\"keyword.other.operator.kusto\"},\"6\":{\"name\":\"variable.other.column.kusto\"}},\"match\":\"\\\\b(top-hitters)(?:\\\\s+(\\\\d+)\\\\s+(of)\\\\s+(\\\\w+)(?:\\\\s+(by)\\\\s+(\\\\w+))?)?\\\\b\",\"name\":\"meta.query.top-hitters.kusto\"},{\"match\":\"\\\\b(consume|count|distinct|evaluate|extend|externaldata|find|fork|getschema|join|lookup|make-series|mv-apply|mv-expand|project-away|project-keep|project-rename|project-reorder|project|parse|parse-where|parse-kv|partition|print|reduce|render|scan|search|serialize|shuffle|summarize|top-nested|union|where)\\\\b\",\"name\":\"keyword.other.query.kusto\"},{\"match\":\"\\\\b(active_users_count|activity_counts_metrics|activity_engagement|new_activity_metrics|activity_metrics|autocluster|azure_digital_twins_query_request|bag_unpack|basket|cosmosdb_sql_request|dcount_intersect|diffpatterns|funnel_sequence_completion|funnel_sequence|http_request_post|http_request|infer_storage_schema|ipv4_lookup|mysql_request|narrow|pivot|preview|rolling_percentile|rows_near|schema_merge|session_count|sequence_detect|sliding_window_counts|sql_request)\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\b(on|kind|hint\\\\.remote|hint\\\\.strategy)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"match\":\"(\\\\$(?:left|right))\\\\b\",\"name\":\"keyword.other.kusto\"},{\"match\":\"\\\\b(innerunique|inner|leftouter|rightouter|fullouter|leftanti|anti|leftantisemi|rightanti|rightantisemi|leftsemi|rightsemi|broadcast)\\\\b\",\"name\":\"keyword.other.kusto\"},{\"match\":\"\\\\b(series_(?:abs|acos|add|asin|atan|cos|decompose|decompose_anomalies|decompose_forecast|divide|equals|exp|fft|fill_backward|fill_const|fill_forward|fill_linear|fir|fit_2lines_dynamic|fit_2lines|fit_line_dynamic|fit_line|fit_poly|greater_equals|greater|ifft|iir|less_equals|less|multiply|not_equals|outliers|pearson_correlation|periods_detect|periods_validate|pow|seasonal|sign|sin|stats|stats_dynamic|subtract|tan))\\\\b\",\"name\":\"support.function.kusto\"},{\"match\":\"\\\\b(bag|array)\\\\b\",\"name\":\"keyword.other.operator.kusto\"},{\"match\":\"\\\\b(asc|desc|nulls first|nulls last)\\\\b\",\"name\":\"keyword.other.kusto\"},{\"match\":\"\\\\b(regex|simple|relaxed)\\\\b\",\"name\":\"keyword.other.kusto\"},{\"match\":\"\\\\b(anomalychart|areachart|barchart|card|columnchart|ladderchart|linechart|piechart|pivotchart|scatterchart|stackedareachart|timechart|timepivot)\\\\b\",\"name\":\"support.function.kusto\"},{\"include\":\"#Strings\"},{\"match\":\"\\\\{.*?}\",\"name\":\"string.other.kusto\"},{\"match\":\"//.*\",\"name\":\"comment.line.kusto\"},{\"include\":\"#TimeSpanLiterals\"},{\"include\":\"#DateTimeTimeSpanFunctions\"},{\"include\":\"#DateTimeTimeSpanDataTypes\"},{\"include\":\"#Numeric\"},{\"match\":\"\\\\b(true|false|null)\\\\b\",\"name\":\"constant.language.kusto\"},{\"match\":\"\\\\b(anyif|any|array_strcat|base64_decodestring|base64_encodestring|make_dictionary|makelist|makeset|mvexpand|todynamic|parse_json|replace|weekofyear)(?=\\\\W*\\\\(|\\\\b)\",\"name\":\"invalid.deprecated.kusto\"}],\"repository\":{\"DateTimeTimeSpanDataTypes\":{\"patterns\":[{\"match\":\"\\\\b(datetime|timespan|time)\\\\b\",\"name\":\"storage.type.kusto\"}]},\"DateTimeTimeSpanFunctions\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"support.function.kusto\"},\"2\":{\"patterns\":[{\"include\":\"#DateTimeTimeSpanDataTypes\"}]},\"3\":{\"patterns\":[{\"include\":\"#Strings\"}]}},\"match\":\"\\\\b(format_datetime)(?:\\\\s*\\\\(\\\\s*(.+?)\\\\s*,\\\\s*([\\\"'].*?[\\\"'])\\\\s*\\\\))?(?!\\\\w)\",\"name\":\"meta.scalar.function.format_datetime.kusto\"},{\"match\":\"\\\\b(ago|datetime_add|datetime_diff|datetime_local_to_utc|datetime_part|datetime_utc_to_local|dayofmonth|dayofweek|dayofyear|endofday|endofmonth|endofweek|endofyear|format_timespan|getmonth|getyear|hourofday|make_datetime|make_timespan|monthofyear|now|startofday|startofmonth|startofweek|startofyear|todatetime|totimespan|week_of_year)(?=\\\\W*\\\\()\",\"name\":\"support.function.kusto\"}]},\"Escapes\":{\"patterns\":[{\"match\":\"(\\\\\\\\[\\\"'\\\\\\\\])\",\"name\":\"constant.character.escape.kusto\"}]},\"Numeric\":{\"patterns\":[{\"match\":\"\\\\b((0([Xx])\\\\h*)|(([0-9]+\\\\.?[0-9]*+)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)([Ll]|UL|ul|[FUfu]|ll|LL|ull|ULL)?(?=\\\\b|\\\\w)\",\"name\":\"constant.numeric.kusto\"}]},\"Strings\":{\"patterns\":[{\"begin\":\"([@h]?\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.kusto\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.kusto\"}},\"name\":\"string.quoted.double.kusto\",\"patterns\":[{\"include\":\"#Escapes\"}]},{\"begin\":\"([@h]?')\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.kusto\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.kusto\"}},\"name\":\"string.quoted.single.kusto\",\"patterns\":[{\"include\":\"#Escapes\"}]},{\"begin\":\"([@h]?```)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.kusto\"}},\"end\":\"```\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.kusto\"}},\"name\":\"string.quoted.multi.kusto\",\"patterns\":[{\"include\":\"#Escapes\"}]}]},\"TimeSpanLiterals\":{\"patterns\":[{\"match\":\"[-+]?(?:\\\\d*\\\\.)?\\\\d+(?:microseconds?|ticks?|seconds?|ms|[dhms])\\\\b\",\"name\":\"constant.numeric.kusto\"}]}},\"scopeName\":\"source.kusto\",\"aliases\":[\"kql\"]}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/lean.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Lean 4\",\"fileTypes\":[],\"name\":\"lean\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(Prop|Type|Sort)\\\\b\",\"name\":\"storage.type.lean4\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.lean4\"},\"2\":{\"name\":\"storage.modifier.lean4\"},\"3\":{\"name\":\"storage.modifier.lean4\"}},\"match\":\"\\\\b(attribute\\\\b\\\\s*)(?:(\\\\[[^]\\\\s]*])|\\\\[([^]\\\\s]*))\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.lean4\"},\"2\":{\"name\":\"storage.modifier.lean4\"},\"3\":{\"name\":\"storage.modifier.lean4\"}},\"match\":\"(@)(?:(\\\\[[^]\\\\s]*])|\\\\[([^]\\\\s]*))\"},{\"match\":\"\\\\b(?<!\\\\.)(local|scoped|partial|unsafe|nonrec|public|private|protected|noncomputable|meta)(?!\\\\.)\\\\b\",\"name\":\"storage.modifier.lean4\"},{\"match\":\"\\\\b(sorry|admit|#exit)\\\\b\",\"name\":\"invalid.illegal.lean4\"},{\"match\":\"#(print|eval!??|reduce|synth|widget|where|version|with_exporting|check|check_tactic|check_tactic_failure|check_failure|check_simp|discr_tree_key|discr_tree_simp_key|guard|guard_expr|guard_msgs)\\\\b\",\"name\":\"keyword.other.lean4\"},{\"match\":\"\\\\bderiving\\\\s+instance\\\\b\",\"name\":\"keyword.other.command.lean4\"},{\"begin\":\"\\\\b(?<!\\\\.)(inductive|coinductive|structure|theorem|axiom|abbrev|lemma|def|instance|class)\\\\b\\\\s+(\\\\{[^}]*})?\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.definitioncommand.lean4\"}},\"end\":\"(?=\\\\bwith\\\\b|\\\\bextends\\\\b|\\\\bwhere\\\\b|[(:<>\\\\[{|⦃])\",\"name\":\"meta.definitioncommand.lean4\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#definitionName\"},{\"match\":\",\"}]},{\"match\":\"\\\\b(?<!\\\\.)(theorem|show|have|using|haveI|from|suffices|nomatch|nofun|no_index|def|class|structure|instance|elab|set_option|initialize|builtin_initialize|example|inductive_fixpoint|inductive|coinductive_fixpoint|coinductive|termination_by\\\\??|decreasing_by|partial_fixpoint|axiom|universe|variable|module|import all|import|open|export|prelude|renaming|hiding|do|by\\\\??|letI??|let_expr|extends|mutual|mut|where|rec|declare_syntax_cat|syntax|macro_rules|macro|binop_lazy%|binop%|unop%|binrel_no_prop%|binrel%|leftact%|rightact%|max_prec|leading_parser|elab_rules|deriving|fun|section|namespace|end|prefix|postfix|infixl|infixr?|notation|abbrev|if|bif|then|else|calc|matches|match_expr|match|with|forall|for|while|repeat|unless|until|panic!|unreachable!|assert!|try|catch|finally|return|continue|break|exists|mod_cast|exact\\\\?%|include_str|include|in|trailing_parser|tactic_tag|tactic_alt|tactic_extension|register_tactic_tag|type_of%|binder_predicate|grind_propagator|builtin_grind_propagator|grind_pattern|simproc|builtin_simproc|simproc_pattern%|builtin_simproc_pattern%|simproc_decl|builtin_simproc_decl|dsimproc|builtin_dsimproc|dsimproc_decl|builtin_dsimproc_decl|show_panel_widgets|show_term|seal|unseal|nat_lit|norm_cast_add_elim|println!|private_decl%|declare_config_elab|decl_name%|register_error_explanation|register_builtin_option|register_option|register_parser_alias|register_simp_attr|register_linter_set|register_label_attr|recommended_spelling|reportIssue!|reprove|run_elab|run_cmd|run_meta|value_of%|add_decl_doc|omit|opaque|json%|dbg_trace|trace_goal\\\\[[^]\\\\s]*]|trace\\\\[[^]\\\\s]*]|throwErrorAt|throwError|throwNamedErrorAt|throwNamedError|logNamedWarningAt|logNamedWarning|logNamedErrorAt|logNamedError)(?!\\\\.)\\\\b\",\"name\":\"keyword.other.lean4\"},{\"begin\":\"«\",\"contentName\":\"entity.name.lean4\",\"end\":\"»\"},{\"begin\":\"(s!|m!|throwError|dbg_trace|panic!|reportIssue!|trace(?:_goal|)\\\\[[^]\\\\s]*])\\\\s*\\\"\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.lean4\"}},\"end\":\"\\\"\",\"name\":\"string.interpolated.lean4\",\"patterns\":[{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.lean4\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.other.lean4\"}},\"patterns\":[{\"include\":\"$self\"}]},{\"match\":\"\\\\\\\\[\\\"'\\\\\\\\nrt]\",\"name\":\"constant.character.escape.lean4\"},{\"match\":\"\\\\\\\\x\\\\h\\\\h\",\"name\":\"constant.character.escape.lean4\"},{\"match\":\"\\\\\\\\u\\\\h\\\\h\\\\h\\\\h\",\"name\":\"constant.character.escape.lean4\"}]},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.lean4\",\"patterns\":[{\"match\":\"\\\\\\\\[\\\"'\\\\\\\\nrt]\",\"name\":\"constant.character.escape.lean4\"},{\"match\":\"\\\\\\\\x\\\\h\\\\h\",\"name\":\"constant.character.escape.lean4\"},{\"match\":\"\\\\\\\\u\\\\h\\\\h\\\\h\\\\h\",\"name\":\"constant.character.escape.lean4\"}]},{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.lean4\"},{\"match\":\"(?<![]\\\\w])'[^'\\\\\\\\]'\",\"name\":\"string.quoted.single.lean4\"},{\"captures\":{\"1\":{\"name\":\"constant.character.escape.lean4\"}},\"match\":\"(?<![]\\\\w])'(\\\\\\\\(x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h|.))'\",\"name\":\"string.quoted.single.lean4\"},{\"match\":\"
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Lean 4\",\"fileTypes\":[],\"name\":\"lean\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(Prop|Type|Sort)\\\\b\",\"name\":\"storage.type.lean4\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.lean4\"},\"2\":{\"name\":\"storage.modifier.lean4\"},\"3\":{\"name\":\"storage.modifier.lean4\"}},\"match\":\"\\\\b(attribute\\\\b\\\\s*)(?:(\\\\[[^]\\\\s]*])|\\\\[([^]\\\\s]*))\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.lean4\"},\"2\":{\"name\":\"storage.modifier.lean4\"},\"3\":{\"name\":\"storage.modifier.lean4\"}},\"match\":\"(@)(?:(\\\\[[^]\\\\s]*])|\\\\[([^]\\\\s]*))\"},{\"match\":\"\\\\b(?<!\\\\.)(local|scoped|partial|unsafe|nonrec|public|private|protected|noncomputable|meta)(?!\\\\.)\\\\b\",\"name\":\"storage.modifier.lean4\"},{\"match\":\"\\\\b(sorry|admit|#exit)\\\\b\",\"name\":\"invalid.illegal.lean4\"},{\"match\":\"#(print|eval!??|reduce|synth|widget|where|version|with_exporting|check|check_tactic|check_tactic_failure|check_failure|check_simp|discr_tree_key|discr_tree_simp_key|guard|guard_expr|guard_msgs)\\\\b\",\"name\":\"keyword.other.lean4\"},{\"match\":\"\\\\bderiving\\\\s+instance\\\\b\",\"name\":\"keyword.other.command.lean4\"},{\"begin\":\"\\\\b(?<!\\\\.)(inductive|coinductive|structure|theorem|axiom|abbrev|lemma|def|instance|class)\\\\b\\\\s+(\\\\{[^}]*})?\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.definitioncommand.lean4\"}},\"end\":\"(?=\\\\bwith\\\\b|\\\\bextends\\\\b|\\\\bwhere\\\\b|[(:<>\\\\[{|⦃])\",\"name\":\"meta.definitioncommand.lean4\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#definitionName\"},{\"match\":\",\"}]},{\"match\":\"\\\\b(?<!\\\\.)(theorem|show|have|using|haveI|from|suffices|nomatch|nofun|no_index|def|class|structure|instance|elab|set_option|initialize|builtin_initialize|example|inductive_fixpoint|inductive|coinductive_fixpoint|coinductive|termination_by\\\\??|decreasing_by|partial_fixpoint|axiom|universe|variable|module|import all|import|open|export|prelude|renaming|hiding|do|by\\\\??|letI??|let_expr|extends|mutual|mut|where|rec|declare_syntax_cat|syntax|macro_rules|macro|binop_lazy%|binop%|unop%|binrel_no_prop%|binrel%|leftact%|rightact%|max_prec|leading_parser|elab_rules|deriving|fun|section|namespace|end|prefix|postfix|infixl|infixr?|notation|abbrev|if|bif|then|else|calc|matches|match_expr|match|with|forall|for|while|repeat|unless|until|panic!|unreachable!|assert!|try|catch|finally|return|continue|break|exists|mod_cast|exact\\\\?%|include_str|include|in|trailing_parser|tactic_tag|tactic_alt|tactic_extension|register_tactic_tag|type_of%|binder_predicate|grind_propagator|builtin_grind_propagator|grind_pattern|simproc|builtin_simproc|simproc_pattern%|builtin_simproc_pattern%|simproc_decl|builtin_simproc_decl|dsimproc|builtin_dsimproc|dsimproc_decl|builtin_dsimproc_decl|show_panel_widgets|show_term|seal|unseal|nat_lit|norm_cast_add_elim|println!|private_decl%|declare_config_elab|decl_name%|register_error_explanation|register_builtin_option|register_option|register_parser_alias|register_simp_attr|register_linter_set|register_label_attr|recommended_spelling|reportIssue!|reprove|run_elab|run_cmd|run_meta|value_of%|add_decl_doc|omit|opaque|json%|dbg_trace|trace_goal\\\\[[^]\\\\s]*]|trace\\\\[[^]\\\\s]*]|throwErrorAt|throwError|throwNamedErrorAt|throwNamedError|logNamedWarningAt|logNamedWarning|logNamedErrorAt|logNamedError)(?!\\\\.)\\\\b\",\"name\":\"keyword.other.lean4\"},{\"begin\":\"«\",\"contentName\":\"entity.name.lean4\",\"end\":\"»\"},{\"begin\":\"(s!|m!|throwError|dbg_trace|panic!|reportIssue!|trace(?:_goal|)\\\\[[^]\\\\s]*])\\\\s*\\\"\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.lean4\"}},\"end\":\"\\\"\",\"name\":\"string.interpolated.lean4\",\"patterns\":[{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.lean4\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.other.lean4\"}},\"patterns\":[{\"include\":\"$self\"}]},{\"match\":\"\\\\\\\\[\\\"'\\\\\\\\nrt]\",\"name\":\"constant.character.escape.lean4\"},{\"match\":\"\\\\\\\\x\\\\h\\\\h\",\"name\":\"constant.character.escape.lean4\"},{\"match\":\"\\\\\\\\u\\\\h\\\\h\\\\h\\\\h\",\"name\":\"constant.character.escape.lean4\"}]},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.lean4\",\"patterns\":[{\"match\":\"\\\\\\\\[\\\"'\\\\\\\\nrt]\",\"name\":\"constant.character.escape.lean4\"},{\"match\":\"\\\\\\\\x\\\\h\\\\h\",\"name\":\"constant.character.escape.lean4\"},{\"match\":\"\\\\\\\\u\\\\h\\\\h\\\\h\\\\h\",\"name\":\"constant.character.escape.lean4\"}]},{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.lean4\"},{\"match\":\"(?<![]\\\\w])'[^'\\\\\\\\]'\",\"name\":\"string.quoted.single.lean4\"},{\"captures\":{\"1\":{\"name\":\"constant.character.escape.lean4\"}},\"match\":\"(?<![]\\\\w])'(\\\\\\\\(x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h|.))'\",\"name\":\"string.quoted.single.lean4\"},{\"match\":\"\\\\b([0-9]+|0([Xx]\\\\h+)|-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([Ee][-+]?[0-9]+)?)\\\\b\",\"name\":\"constant.numeric.lean4\"}],\"repository\":{\"blockComment\":{\"begin\":\"/-\",\"end\":\"-/\",\"name\":\"comment.block.lean4\",\"patterns\":[{\"include\":\"source.lean4.markdown\"},{\"include\":\"#blockComment\"}]},\"comments\":{\"patterns\":[{\"include\":\"#dashComment\"},{\"include\":\"#docComment\"},{\"include\":\"#modDocComment\"},{\"include\":\"#blockComment\"}]},\"dashComment\":{\"begin\":\"--\",\"end\":\"$\",\"name\":\"comment.line.double-dash.lean4\",\"patterns\":[{\"include\":\"source.lean4.markdown\"}]},\"definitionName\":{\"patterns\":[{\"match\":\"\\\\b[^():=?{}«»λ→∀\\\\s][^():{}«»\\\\s]*\",\"name\":\"entity.name.function.lean4\"},{\"begin\":\"«\",\"contentName\":\"entity.name.function.lean4\",\"end\":\"»\"}]},\"docComment\":{\"begin\":\"/--\",\"end\":\"-/\",\"name\":\"comment.block.documentation.lean4\",\"patterns\":[{\"include\":\"source.lean4.markdown\"},{\"include\":\"#blockComment\"}]},\"modDocComment\":{\"begin\":\"/-!\",\"end\":\"-/\",\"name\":\"comment.block.documentation.lean4\",\"patterns\":[{\"include\":\"source.lean4.markdown\"},{\"include\":\"#blockComment\"}]}},\"scopeName\":\"source.lean4\",\"aliases\":[\"lean4\"]}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/luau.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Luau\",\"fileTypes\":[\"luau\"],\"name\":\"luau\",\"patterns\":[{\"include\":\"#function-definition\"},{\"include\":\"#number\"},{\"include\":\"#string\"},{\"include\":\"#shebang\"},{\"include\":\"#comment\"},{\"include\":\"#local-declaration\"},{\"include\":\"#for-loop\"},{\"include\":\"#type-function\"},{\"include\":\"#type-alias-declaration\"},{\"include\":\"#keyword\"},{\"include\":\"#language_constant\"},{\"include\":\"#standard_library\"},{\"include\":\"#identifier\"},{\"include\":\"#operator\"},{\"include\":\"#parentheses\"},{\"include\":\"#table\"},{\"include\":\"#type_cast\"},{\"include\":\"#type_annotation\"},{\"include\":\"#attribute\"}],\"repository\":{\"attribute\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.operator.attribute.luau\"},\"2\":{\"name\":\"storage.type.attribute.luau\"}},\"match\":\"(@)([A-Z_a-z][0-9A-Z_a-z]*)\",\"name\":\"meta.attribute.luau\"}]},\"comment\":{\"patterns\":[{\"begin\":\"--\\\\[(=*)\\\\[\",\"end\":\"]\\\\1]\",\"name\":\"comment.block.luau\",\"patterns\":[{\"begin\":\"(```luau?)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"comment.luau\"}},\"end\":\"(```)\",\"endCaptures\":{\"1\":{\"name\":\"comment.luau\"}},\"name\":\"keyword.operator.other.luau\",\"patterns\":[{\"include\":\"source.luau\"}]},{\"include\":\"#doc_comment_tags\"}]},{\"begin\":\"---\",\"end\":\"\\\\n\",\"name\":\"comment.line.double-dash.documentation.luau\",\"patterns\":[{\"include\":\"#doc_comment_tags\"}]},{\"begin\":\"--\",\"end\":\"\\\\n\",\"name\":\"comment.line.double-dash.luau\"}]},\"doc_comment_tags\":{\"patterns\":[{\"match\":\"@\\\\w+\",\"name\":\"storage.type.class.luadoc.luau\"},{\"captures\":{\"1\":{\"name\":\"storage.type.class.luadoc.luau\"},\"2\":{\"name\":\"variable.parameter.luau\"}},\"match\":\"((?<=[!*/\\\\s])[@\\\\\\\\]param)\\\\s+\\\\b(\\\\w+)\\\\b\"}]},\"for-loop\":{\"begin\":\"\\\\b(for)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.luau\"}},\"end\":\"\\\\b(in)\\\\b|(=)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.luau\"},\"2\":{\"name\":\"keyword.operator.assignment.luau\"}},\"patterns\":[{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=\\\\s*in\\\\b|\\\\s*[,=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.parameter.luau\"}]},\"function-definition\":{\"begin\":\"\\\\b(?:(local)\\\\s+)?(function)\\\\b(?![,:])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.local.luau\"},\"2\":{\"name\":\"keyword.control.luau\"}},\"end\":\"(?<=[-\\\\]\\\"')\\\\[{}])\",\"name\":\"meta.function.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#generics-declaration\"},{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.begin.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.luau\"}},\"name\":\"meta.parameter.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"variable.parameter.function.varargs.luau\"},{\"match\":\"[A-Z_a-z][0-9A-Z_a-z]*\",\"name\":\"variable.parameter.function.luau\"},{\"match\":\",\",\"name\":\"punctuation.separator.arguments.luau\"},{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#type_literal\"}]}]},{\"match\":\"\\\\b(__(?:add|call|concat|div|eq|index|len??|lt|metatable|mode??|mul|newindex|pow|sub|tostring|unm|iter|idiv))\\\\b\",\"name\":\"variable.language.metamethod.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.function.luau\"}]},\"generics-declaration\":{\"begin\":\"(<)\",\"end\":\"(>)\",\"patterns\":[{\"match\":\"[A-Z_a-z][0-9A-Z_a-z]*\",\"name\":\"entity.name.type.luau\"},{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"},{\"include\":\"#type_literal\"}]},\"identifier\":{\"patterns\":[{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(?:[\\\"'({]|\\\\[\\\\[))\",\"name\":\"entity.name.function.luau\"},{\"match\":\"(?<=[^.]\\\\.|:)\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.property.luau\"},{\"match\":\"\\\\b([A-Z_][0-9A-Z_]*)\\\\b\",\"name\":\"variable.other.constant.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.readwrite.luau\"}]},\"interpolated_string_expression\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.interpolated-string-expression.begin.luau\"}},\"contentName\":\"meta.embedded.line.luau\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.interpolated-string-expression.end.luau\"}},\"name\":\"meta.template.expression.luau\",\"patterns\":[{\"include\":\"source.luau\"}]},\"keyword\":{\"patterns\":[{\"match\":\"\\\\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\\\\b\",\"name\":\"keyword.control.luau\"},{\"match\":\"\\\\b(local)\\\\b\",\"name\":\"storage.modifier.local.luau\"},{\"match\":\"\\\\b(function)\\\\b(?![,:])\",\"name\":\"keyword.control.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(self)\\\\b\",\"name\":\"variable.language.self.luau\"},{\"match\":\"\\\\b(and|or|not)\\\\b\",\"name\":\"keyword.operator.logical.luau keyword.operator.wordlike.luau\"},{\"match\":\"(?<=[^.]\\\\.|:)\\\\b(__(?:add|call|concat|div|eq|index|len??|lt|metatable|mode??|mul|newindex|pow|sub|tostring|unm))\\\\b\",\"name\":\"variable.language.metamethod.luau\"},{\"match\":\"(?<!\\\\.)\\\\.{3}(?!\\\\.)\",\"name\":\"keyword.other.unit.luau\"}]},\"language_constant\":{\"patterns\":[{\"match\":\"(?<![^.]\\\\.|:)\\\\b(false)\\\\b\",\"name\":\"constant.language.boolean.false.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(true)\\\\b\",\"name\":\"constant.language.boolean.true.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(nil(?!:))\\\\b\",\"name\":\"constant.language.nil.luau\"}]},\"local-declaration\":{\"begin\":\"\\\\b(local)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.local.luau\"}},\"end\":\"(?=\\\\s*do\\\\b|\\\\s*[;=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#attribute\"},{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=\\\\s*do\\\\b|\\\\s*[,;=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_][0-9A-Z_]*)\\\\b\",\"name\":\"variable.other.constant.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.readwrite.luau\"}]},\"number\":{\"patterns\":[{\"match\":\"\\\\b0_*[Xx]_*[A-F_a-f\\\\d]*(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.hex.luau\"},{\"match\":\"\\\\b0_*[Bb][01_]+(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.binary.luau\"},{\"match\":\"(?:\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?|\\\\.\\\\d[_\\\\d]*)(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.decimal.luau\"}]},\"operator\":{\"patterns\":[{\"match\":\"==|~=|!=|<=?|>=?\",\"name\":\"keyword.operator.comparison.luau\"},{\"match\":\"(?:[-+]|//??|[%*^]|\\\\.\\\\.|)=\",\"name\":\"keyword.operator.assignment.luau\"},{\"match\":\"[-%*+]|//|[/^]\",\"name\":\"keyword.operator.arithmetic.luau\"},{\"match\":\"#|(?<!\\\\.)\\\\.{2}(?!\\\\.)\",\"name\":\"keyword.operator.other.luau\"}]},\"parentheses\":{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.arguments.begin.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.arguments.end.luau\"}},\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.separator.arguments.luau\"},{\"include\":\"source.luau\"}]},\"shebang\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.luau\"}},\"match\":\"\\\\A(#!).*$\\\\n?\",\"name\":\"comment.line.shebang.luau\"},\"standard_library\":{\"patterns\":[{\"match\":\"(?<![^.]\\\\.|:)\\\\b(assert|collectgarbage|error|gcinfo|getfenv|getmetatable|ipairs|loadstring|newproxy|next|pairs|pcall|print|rawequal|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|typeof|unpack|xpcall)\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(_(?:G|VERSION))\\\\b\",\"name\":\"constant.language.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(bit32\\\\.(?:arshift|band|bnot|bor|btest|bxor|extract|lrotate|lshift|replace|rrotate|rshift|countlz|countrz|byteswap)|coroutine\\\\.(?:create|isyieldable|resume|running|status|wrap|yield|close)|debug\\\\.(?:info|loadmodule|profilebegin|profileend|traceback)|math\\\\.(?:abs|acos|asin|atan2??|ceil|clamp|cosh??|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|noise|pow|rad|random|randomseed|round|sign|sinh??|sqrt|tanh??)|os\\\\.(?:clock|date|difftime|time)|string\\\\.(?:byte|char|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|split|sub|unpack|upper)|table\\\\.(?:concat|create|find|foreachi??|getn|insert|maxn|move|pack|remove|sort|unpack|clear|freeze|isfrozen|clone)|task\\\\.(?:spawn|synchronize|desynchronize|wait|defer|delay)|utf8\\\\.(?:char|codepoint|codes|graphemes|len|nfcnormalize|nfdnormalize|offset)|buffer\\\\.(?:create|fromstring|tostring|len|readi8|readu8|readi16|readu16|readi32|readu32|readf32|readf64|writei8|writeu8|writei16|writeu16|writei32|writeu32|writef32|writef64|readstring|writestring|copy|fill))\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(bit32|buffer|coroutine|debug|math(\\\\.(huge|pi))?|os|string|table|task|utf8(\\\\.charpattern)?)\\\\b\",\"name\":\"support.constant.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(delay|DebuggerManager|elapsedTime|PluginManager|printidentity|settings|spawn|stats|tick|time|UserSettings|version|wait|warn)\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(game|plugin|shared|script|workspace|Enum(?:\\\\.\\\\w+){0,2})\\\\b\",\"name\":\"constant.language.luau\"}]},\"string\":{\"patterns\":[{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.luau\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.luau\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"begin\":\"\\\\[(=*)\\\\[\",\"end\":\"]\\\\1]\",\"name\":\"string.other.multiline.luau\"},{\"begin\":\"`\",\"end\":\"`\",\"name\":\"string.interpolated.luau\",\"patterns\":[{\"include\":\"#interpolated_string_expression\"},{\"include\":\"#string_escape\"}]}]},\"string_escape\":{\"patterns\":[{\"match\":\"\\\\\\\\[\\\"'\\\\\\\\`abfnrtvz{]\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\\\\\d{1,3}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\x\\\\h{2}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\u\\\\{\\\\h*}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\$\",\"name\":\"constant.character.escape.luau\"}]},\"table\":{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.table.begin.luau\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.table.end.luau\"}},\"patterns\":[{\"match\":\"[,;]\",\"name\":\"punctuation.separator.fields.luau\"},{\"include\":\"source.luau\"}]},\"type-alias-declaration\":{\"begin\":\"^\\\\b(?:(export)\\\\s+)?(type)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.visibility.luau\"},\"2\":{\"name\":\"storage.type.luau\"}},\"end\":\"(?=\\\\s*$)|(?=\\\\s*;)\",\"patterns\":[{\"include\":\"#type_literal\"},{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"}]},\"type-function\":{\"begin\":\"^\\\\b(?:(export)\\\\s+)?(type)\\\\s+(function)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.visibility.luau\"},\"2\":{\"name\":\"storage.type.luau\"},\"3\":{\"name\":\"keyword.control.luau\"}},\"end\":\"(?<=[-\\\\]\\\"')\\\\[{}])\",\"name\":\"meta.function.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#generics-declaration\"},{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.begin.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.luau\"}},\"name\":\"meta.parameter.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"variable.parameter.function.varargs.luau\"},{\"match\":\"[A-Z_a-z][0-9A-Z_a-z]*\",\"name\":\"variable.parameter.function.luau\"},{\"match\":\",\",\"name\":\"punctuation.separator.arguments.luau\"},{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#type_literal\"}]}]},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.luau\"}]},\"type_annotation\":{\"begin\":\":(?!\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(?:[\\\"'({]|\\\\[\\\\[)))\",\"end\":\"(?<=\\\\))(?!\\\\s*->)|[;=]|$|(?=\\\\breturn\\\\b)|(?=\\\\bend\\\\b)\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#type_literal\"}]},\"type_cast\":{\"begin\":\"(::)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.typecast.luau\"}},\"end\":\"(?=^|[-\\\\])+,:;>?}](?!\\\\s*[\\\\&|])|$|\\\\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\\\\b)\",\"patterns\":[{\"include\":\"#type_literal\"}]},\"type_literal\":{\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#string\"},{\"match\":\"[\\\\&?|]\",\"name\":\"keyword.operator.type.luau\"},{\"match\":\"->\",\"name\":\"keyword.operator.type.function.luau\"},{\"match\":\"\\\\b(false)\\\\b\",\"name\":\"constant.language.boolean.false.luau\"},{\"match\":\"\\\\b(true)\\\\b\",\"name\":\"constant.language.boolean.true.luau\"},{\"match\":\"\\\\b(nil|string|number|boolean|thread|userdata|symbol|vector|buffer|unknown|never|any)\\\\b\",\"name\":\"support.type.primitive.luau\"},{\"begin\":\"\\\\b(typeof)\\\\b(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.luau\"},\"2\":{\"name\":\"punctuation.arguments.begin.typeof.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.arguments.end.typeof.luau\"}},\"patterns\":[{\"include\":\"source.luau\"}]},{\"begin\":\"(<)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.begin.luau\"}},\"end\":\"(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.end.luau\"}},\"patterns\":[{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"},{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.luau\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"patterns\":[{\"begin\":\"\\\\[\",\"end\":\"]\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"captures\":{\"1\":{\"name\":\"storage.modifier.access.luau\"},\"2\":{\"name\":\"variable.property.luau\"},\"3\":{\"name\":\"keyword.operator.type.luau\"}},\"match\":\"\\\\b(?:(read|write)\\\\s+)?([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(:)\"},{\"include\":\"#type_literal\"},{\"match\":\"[,;]\",\"name\":\"punctuation.separator.fields.type.luau\"}]},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.parameter.luau\"},\"2\":{\"name\":\"keyword.operator.type.luau\"}},\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(:)\",\"name\":\"variable.parameter.luau\"},{\"include\":\"#type_literal\"}]}]}},\"scopeName\":\"source.luau\"}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Luau\",\"fileTypes\":[\"luau\"],\"name\":\"luau\",\"patterns\":[{\"include\":\"#function-definition\"},{\"include\":\"#number\"},{\"include\":\"#string\"},{\"include\":\"#shebang\"},{\"include\":\"#comment\"},{\"include\":\"#local-declaration\"},{\"include\":\"#for-loop\"},{\"include\":\"#type-function\"},{\"include\":\"#type-alias-declaration\"},{\"include\":\"#keyword\"},{\"include\":\"#language_constant\"},{\"include\":\"#standard_library\"},{\"include\":\"#identifier\"},{\"include\":\"#operator\"},{\"include\":\"#parentheses\"},{\"include\":\"#table\"},{\"include\":\"#type_cast\"},{\"include\":\"#type_annotation\"},{\"include\":\"#attribute\"}],\"repository\":{\"attribute\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.operator.attribute.luau\"},\"2\":{\"name\":\"storage.type.attribute.luau\"}},\"match\":\"(@)([A-Z_a-z][0-9A-Z_a-z]*)\",\"name\":\"meta.attribute.luau\"}]},\"comment\":{\"patterns\":[{\"begin\":\"--\\\\[(=*)\\\\[\",\"end\":\"]\\\\1]\",\"name\":\"comment.block.luau\",\"patterns\":[{\"begin\":\"(```luau?)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"comment.luau\"}},\"end\":\"(```)\",\"endCaptures\":{\"1\":{\"name\":\"comment.luau\"}},\"name\":\"keyword.operator.other.luau\",\"patterns\":[{\"include\":\"source.luau\"}]},{\"include\":\"#doc_comment_tags\"}]},{\"begin\":\"---\",\"end\":\"\\\\n\",\"name\":\"comment.line.double-dash.documentation.luau\",\"patterns\":[{\"include\":\"#doc_comment_tags\"}]},{\"begin\":\"--\",\"end\":\"\\\\n\",\"name\":\"comment.line.double-dash.luau\"}]},\"doc_comment_tags\":{\"patterns\":[{\"match\":\"@\\\\w+\",\"name\":\"storage.type.class.luadoc.luau\"},{\"captures\":{\"1\":{\"name\":\"storage.type.class.luadoc.luau\"},\"2\":{\"name\":\"variable.parameter.luau\"}},\"match\":\"((?<=[!*/\\\\s])[@\\\\\\\\]param)\\\\s+\\\\b(\\\\w+)\\\\b\"}]},\"for-loop\":{\"begin\":\"\\\\b(for)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.luau\"}},\"end\":\"\\\\b(in)\\\\b|(=)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.luau\"},\"2\":{\"name\":\"keyword.operator.assignment.luau\"}},\"patterns\":[{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=\\\\s*in\\\\b|\\\\s*[,=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.parameter.luau\"}]},\"function-definition\":{\"begin\":\"\\\\b(?:(local)\\\\s+)?(function)\\\\b(?![,:])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.local.luau\"},\"2\":{\"name\":\"keyword.control.luau\"}},\"end\":\"(?<=[-\\\\]\\\"')\\\\[{}])\",\"name\":\"meta.function.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#generics-declaration\"},{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.begin.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.luau\"}},\"name\":\"meta.parameter.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"variable.parameter.function.varargs.luau\"},{\"match\":\"[A-Z_a-z][0-9A-Z_a-z]*\",\"name\":\"variable.parameter.function.luau\"},{\"match\":\",\",\"name\":\"punctuation.separator.arguments.luau\"},{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#type_literal\"}]}]},{\"match\":\"\\\\b(__(?:add|call|concat|div|eq|index|len??|lt|metatable|mode??|mul|newindex|pow|sub|tostring|unm|iter|idiv))\\\\b\",\"name\":\"variable.language.metamethod.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.function.luau\"}]},\"generics-declaration\":{\"begin\":\"(<)\",\"end\":\"(>)\",\"patterns\":[{\"match\":\"[A-Z_a-z][0-9A-Z_a-z]*\",\"name\":\"entity.name.type.luau\"},{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"},{\"include\":\"#type_literal\"}]},\"identifier\":{\"patterns\":[{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(?:[\\\"'({]|\\\\[\\\\[))\",\"name\":\"entity.name.function.luau\"},{\"match\":\"(?<=[^.]\\\\.|:)\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.property.luau\"},{\"match\":\"\\\\b([A-Z_][0-9A-Z_]*)\\\\b\",\"name\":\"variable.other.constant.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.readwrite.luau\"}]},\"interpolated_string_expression\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.interpolated-string-expression.begin.luau\"}},\"contentName\":\"meta.embedded.line.luau\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.interpolated-string-expression.end.luau\"}},\"name\":\"meta.template.expression.luau\",\"patterns\":[{\"include\":\"source.luau\"}]},\"keyword\":{\"patterns\":[{\"match\":\"\\\\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\\\\b\",\"name\":\"keyword.control.luau\"},{\"match\":\"\\\\b(local)\\\\b\",\"name\":\"storage.modifier.local.luau\"},{\"match\":\"\\\\b(function)\\\\b(?![,:])\",\"name\":\"keyword.control.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(self)\\\\b\",\"name\":\"variable.language.self.luau\"},{\"match\":\"\\\\b(and|or|not)\\\\b\",\"name\":\"keyword.operator.logical.luau keyword.operator.wordlike.luau\"},{\"match\":\"(?<=[^.]\\\\.|:)\\\\b(__(?:add|call|concat|div|eq|index|len??|lt|metatable|mode??|mul|newindex|pow|sub|tostring|unm))\\\\b\",\"name\":\"variable.language.metamethod.luau\"},{\"match\":\"(?<!\\\\.)\\\\.{3}(?!\\\\.)\",\"name\":\"keyword.other.unit.luau\"}]},\"language_constant\":{\"patterns\":[{\"match\":\"(?<![^.]\\\\.|:)\\\\b(false)\\\\b\",\"name\":\"constant.language.boolean.false.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(true)\\\\b\",\"name\":\"constant.language.boolean.true.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(nil(?!:))\\\\b\",\"name\":\"constant.language.nil.luau\"}]},\"local-declaration\":{\"begin\":\"\\\\b(local)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.local.luau\"}},\"end\":\"(?=\\\\s*do\\\\b|\\\\s*[;=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#attribute\"},{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=\\\\s*do\\\\b|\\\\s*[,;=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_][0-9A-Z_]*)\\\\b\",\"name\":\"variable.other.constant.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.readwrite.luau\"}]},\"number\":{\"patterns\":[{\"match\":\"\\\\b0_*[Xx]_*[A-F_a-f\\\\d]*(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.hex.luau\"},{\"match\":\"\\\\b0_*[Bb][01_]+(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.binary.luau\"},{\"match\":\"(?:\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?|\\\\.\\\\d[_\\\\d]*)(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.decimal.luau\"}]},\"operator\":{\"patterns\":[{\"match\":\"==|~=|!=|<=?|>=?\",\"name\":\"keyword.operator.comparison.luau\"},{\"match\":\"(?:[-+]|//??|[%*^]|\\\\.\\\\.|)=\",\"name\":\"keyword.operator.assignment.luau\"},{\"match\":\"[-%*+]|//|[/^]\",\"name\":\"keyword.operator.arithmetic.luau\"},{\"match\":\"#|(?<!\\\\.)\\\\.{2}(?!\\\\.)\",\"name\":\"keyword.operator.other.luau\"}]},\"parentheses\":{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.arguments.begin.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.arguments.end.luau\"}},\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.separator.arguments.luau\"},{\"include\":\"source.luau\"}]},\"shebang\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.luau\"}},\"match\":\"\\\\A(#!).*$\\\\n?\",\"name\":\"comment.line.shebang.luau\"},\"standard_library\":{\"patterns\":[{\"match\":\"(?<![^.]\\\\.|:)\\\\b(assert|collectgarbage|error|gcinfo|getfenv|getmetatable|ipairs|loadstring|newproxy|next|pairs|pcall|print|rawequal|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|typeof|unpack|xpcall)\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(_(?:G|VERSION))\\\\b\",\"name\":\"constant.language.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(bit32\\\\.(?:arshift|band|bnot|bor|btest|bxor|extract|lrotate|lshift|replace|rrotate|rshift|countlz|countrz|byteswap)|coroutine\\\\.(?:create|isyieldable|resume|running|status|wrap|yield|close)|debug\\\\.(?:info|loadmodule|profilebegin|profileend|traceback)|math\\\\.(?:abs|acos|asin|atan2??|ceil|clamp|cosh??|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|noise|pow|rad|random|randomseed|round|sign|sinh??|sqrt|tanh??)|os\\\\.(?:clock|date|difftime|time)|string\\\\.(?:byte|char|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|split|sub|unpack|upper)|table\\\\.(?:concat|create|find|foreachi??|getn|insert|maxn|move|pack|remove|sort|unpack|clear|freeze|isfrozen|clone)|task\\\\.(?:spawn|synchronize|desynchronize|wait|defer|delay)|utf8\\\\.(?:char|codepoint|codes|graphemes|len|nfcnormalize|nfdnormalize|offset)|buffer\\\\.(?:create|fromstring|tostring|len|readi8|readu8|readi16|readu16|readi32|readu32|readf32|readf64|writei8|writeu8|writei16|writeu16|writei32|writeu32|writef32|writef64|readstring|writestring|copy|fill)|vector\\\\.(?:abs|angle|ceil|clamp|create|cross|dot|floor|lerp|magnitude|max|min|normalize|sign))\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(bit32|buffer|coroutine|debug|math(\\\\.(huge|pi))?|os|string|table|task|utf8(\\\\.charpattern)?|vector(\\\\.(one|zero))?)\\\\b\",\"name\":\"support.constant.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(delay|DebuggerManager|elapsedTime|PluginManager|printidentity|settings|spawn|stats|tick|time|UserSettings|version|wait|warn)\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(game|plugin|shared|script|workspace|Enum(?:\\\\.\\\\w+){0,2})\\\\b\",\"name\":\"constant.language.luau\"}]},\"string\":{\"patterns\":[{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.luau\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.luau\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"begin\":\"\\\\[(=*)\\\\[\",\"end\":\"]\\\\1]\",\"name\":\"string.other.multiline.luau\"},{\"begin\":\"`\",\"end\":\"`\",\"name\":\"string.interpolated.luau\",\"patterns\":[{\"include\":\"#interpolated_string_expression\"},{\"include\":\"#string_escape\"}]}]},\"string_escape\":{\"patterns\":[{\"match\":\"\\\\\\\\[\\\"'\\\\\\\\`abfnrtvz{]\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\\\\\d{1,3}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\x\\\\h{2}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\u\\\\{\\\\h*}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\$\",\"name\":\"constant.character.escape.luau\"}]},\"table\":{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.table.begin.luau\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.table.end.luau\"}},\"patterns\":[{\"match\":\"[,;]\",\"name\":\"punctuation.separator.fields.luau\"},{\"include\":\"source.luau\"}]},\"type-alias-declaration\":{\"begin\":\"^\\\\b(?:(export)\\\\s+)?(type)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.visibility.luau\"},\"2\":{\"name\":\"storage.type.luau\"}},\"end\":\"(?=\\\\s*$)|(?=\\\\s*;)\",\"patterns\":[{\"include\":\"#type_literal\"},{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"}]},\"type-function\":{\"begin\":\"^\\\\b(?:(export)\\\\s+)?(type)\\\\s+(function)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.visibility.luau\"},\"2\":{\"name\":\"storage.type.luau\"},\"3\":{\"name\":\"keyword.control.luau\"}},\"end\":\"(?<=[-\\\\]\\\"')\\\\[{}])\",\"name\":\"meta.function.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#generics-declaration\"},{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.begin.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.luau\"}},\"name\":\"meta.parameter.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"variable.parameter.function.varargs.luau\"},{\"match\":\"[A-Z_a-z][0-9A-Z_a-z]*\",\"name\":\"variable.parameter.function.luau\"},{\"match\":\",\",\"name\":\"punctuation.separator.arguments.luau\"},{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#type_literal\"}]}]},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.luau\"}]},\"type_annotation\":{\"begin\":\":(?!\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(?:[\\\"'({]|\\\\[\\\\[)))\",\"end\":\"(?<=\\\\))(?!\\\\s*->)|[;=]|$|(?=\\\\breturn\\\\b)|(?=\\\\bend\\\\b)\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#type_literal\"}]},\"type_cast\":{\"begin\":\"(::)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.typecast.luau\"}},\"end\":\"(?=^|[-\\\\])+,:;>?}](?!\\\\s*[\\\\&|])|$|\\\\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\\\\b)\",\"patterns\":[{\"include\":\"#type_literal\"}]},\"type_literal\":{\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#string\"},{\"match\":\"[\\\\&?|]\",\"name\":\"keyword.operator.type.luau\"},{\"match\":\"->\",\"name\":\"keyword.operator.type.function.luau\"},{\"match\":\"\\\\b(false)\\\\b\",\"name\":\"constant.language.boolean.false.luau\"},{\"match\":\"\\\\b(true)\\\\b\",\"name\":\"constant.language.boolean.true.luau\"},{\"match\":\"\\\\b(nil|string|number|boolean|thread|userdata|symbol|vector|buffer|unknown|never|any)\\\\b\",\"name\":\"support.type.primitive.luau\"},{\"begin\":\"\\\\b(typeof)\\\\b(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.luau\"},\"2\":{\"name\":\"punctuation.arguments.begin.typeof.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.arguments.end.typeof.luau\"}},\"patterns\":[{\"include\":\"source.luau\"}]},{\"begin\":\"(<)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.begin.luau\"}},\"end\":\"(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.end.luau\"}},\"patterns\":[{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"},{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.luau\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"patterns\":[{\"begin\":\"\\\\[\",\"end\":\"]\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"captures\":{\"1\":{\"name\":\"storage.modifier.access.luau\"},\"2\":{\"name\":\"variable.property.luau\"},\"3\":{\"name\":\"keyword.operator.type.luau\"}},\"match\":\"\\\\b(?:(read|write)\\\\s+)?([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(:)\"},{\"include\":\"#type_literal\"},{\"match\":\"[,;]\",\"name\":\"punctuation.separator.fields.type.luau\"}]},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.parameter.luau\"},\"2\":{\"name\":\"keyword.operator.type.luau\"}},\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(:)\",\"name\":\"variable.parameter.luau\"},{\"include\":\"#type_literal\"}]}]}},\"scopeName\":\"source.luau\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/markdown-nix.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"fileTypes\":[],\"injectTo\":[\"text.html.markdown\"],\"injectionSelector\":\"L:text.html.markdown\",\"name\":\"markdown-nix\",\"patterns\":[{\"include\":\"#
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"fileTypes\":[],\"injectTo\":[\"text.html.markdown\"],\"injectionSelector\":\"L:text.html.markdown\",\"name\":\"markdown-nix\",\"patterns\":[{\"include\":\"#nix-code-block\"}],\"repository\":{\"nix-code-block\":{\"begin\":\"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(nix)(\\\\s+[^`~]*)?$)\",\"beginCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"},\"5\":{\"name\":\"fenced_code.block.language\"},\"6\":{\"name\":\"fenced_code.block.language.attributes\"}},\"end\":\"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$\",\"endCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"}},\"name\":\"markup.fenced_code.block.markdown\",\"patterns\":[{\"begin\":\"(^|\\\\G)(\\\\s*)(.*)\",\"contentName\":\"meta.embedded.block.nix\",\"patterns\":[{\"include\":\"source.nix\"}],\"while\":\"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)\"}]}},\"scopeName\":\"markdown.nix.codeblock\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/markdown-vue.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"fileTypes\":[],\"injectTo\":[\"text.html.markdown\"],\"injectionSelector\":\"L:text.html.markdown\",\"name\":\"markdown-vue\",\"patterns\":[{\"include\":\"#vue-code-block\"}],\"repository\":{\"vue-code-block\":{\"begin\":\"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(vue)((\\\\s+|[,:?{])[^`~]*)?$)\",\"beginCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"},\"4\":{\"name\":\"fenced_code.block.language.markdown\"},\"5\":{\"name\":\"fenced_code.block.language.attributes.markdown\",\"patterns\":[]}},\"end\":\"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$\",\"endCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"}},\"name\":\"markup.fenced_code.block.markdown\",\"patterns\":[{\"include\":\"
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"fileTypes\":[],\"injectTo\":[\"text.html.markdown\"],\"injectionSelector\":\"L:text.html.markdown\",\"name\":\"markdown-vue\",\"patterns\":[{\"include\":\"#vue-code-block\"}],\"repository\":{\"vue-code-block\":{\"begin\":\"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(vue)((\\\\s+|[,:?{])[^`~]*)?$)\",\"beginCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"},\"4\":{\"name\":\"fenced_code.block.language.markdown\"},\"5\":{\"name\":\"fenced_code.block.language.attributes.markdown\",\"patterns\":[]}},\"end\":\"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$\",\"endCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"}},\"name\":\"markup.fenced_code.block.markdown\",\"patterns\":[{\"include\":\"text.html.vue\"}]}},\"scopeName\":\"markdown.vue.codeblock\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/marko.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import less from './less.mjs'
|
|
|
3
3
|
import scss from './scss.mjs'
|
|
4
4
|
import typescript from './typescript.mjs'
|
|
5
5
|
|
|
6
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Marko\",\"fileTypes\":[\"marko\"],\"name\":\"marko\",\"patterns\":[{\"begin\":\"^\\\\s*(style)(\\\\b\\\\S*\\\\.css)?\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.css\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.css\",\"patterns\":[{\"include\":\"source.css\"}]},{\"begin\":\"^\\\\s*(style)\\\\b(\\\\S*\\\\.less)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.less\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.less\",\"patterns\":[{\"include\":\"source.css.less\"}]},{\"begin\":\"^\\\\s*(style)\\\\b(\\\\S*\\\\.scss)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.scss\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.scss\",\"patterns\":[{\"include\":\"source.css.scss\"}]},{\"begin\":\"^\\\\s*(style)\\\\b(\\\\S*\\\\.[jt]s)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.ts\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"begin\":\"^\\\\s*(?:(static|server|client)\\\\b|(?=(?:class|import|export)\\\\b))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.static.marko\"}},\"contentName\":\"source.ts\",\"end\":\"(?=\\\\n|$)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"include\":\"#content-concise-mode\"}],\"repository\":{\"attr-value\":{\"begin\":\"\\\\s*(:?=)\\\\s*\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"end\":\"(?=[],;]|/>|(?<=[^=>])>|(?<!^|[!%\\\\&*:?^|~]|[-!%\\\\&*+/<-?^|~]=|[=>]>|[^.]\\\\.|[^-]-|[^+]\\\\+|[]%).0-9<A-Za-z}]\\\\s/|[^$.\\\\w]await|[^$.\\\\w]async|[^$.\\\\w]class|[^$.\\\\w]function|[^$.\\\\w]keyof|[^$.\\\\w]new|[^$.\\\\w]readonly|[^$.\\\\w]infer|[^$.\\\\w]typeof|[^$.\\\\w]void)\\\\s+(?![\\\\n!%\\\\&(*+:?^{|~]|[-/<=>]=|[=>]>|\\\\.[^.]|-[^-]|/[^>]|(?:in|instanceof|satisfies|as|extends)\\\\s+[^,/:;=>]))\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"#javascript-expression\"}]},\"attrs\":{\"patterns\":[{\"include\":\"#javascript-comments\"},{\"applyEndPatternLast\":1,\"begin\":\"(?:(key|on[-$0-9A-Z_a-z]+|[$0-9A-Z_a-z]+Change|no-update(?:-body)?(?:-if)?)|([$0-9A-Z_a-z][-$0-9A-Z_a-z]*)|(#[$0-9A-Z_a-z][-$0-9A-Z_a-z]*))(:[$0-9A-Z_a-z][-$0-9A-Z_a-z]*)?\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.attribute-name.marko\"},\"2\":{\"name\":\"entity.other.attribute-name.marko\"},\"3\":{\"name\":\"support.function.attribute-name.marko\"},\"4\":{\"name\":\"support.function.attribute-name.marko\"}},\"end\":\"(?=.|$)\",\"name\":\"meta.marko-attribute\",\"patterns\":[{\"include\":\"#html-args-or-method\"},{\"include\":\"#attr-value\"}]},{\"begin\":\"(\\\\.\\\\.\\\\.)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.spread.marko\"}},\"contentName\":\"source.ts\",\"end\":\"(?=[],;]|/>|(?<=[^=>])>|(?<!^|[!%\\\\&*:?^|~]|[-!%\\\\&*+/<-?^|~]=|[=>]>|[^.]\\\\.|[^-]-|[^+]\\\\+|[]%).0-9<A-Za-z}]\\\\s/|[^$.\\\\w]await|[^$.\\\\w]async|[^$.\\\\w]class|[^$.\\\\w]function|[^$.\\\\w]keyof|[^$.\\\\w]new|[^$.\\\\w]readonly|[^$.\\\\w]infer|[^$.\\\\w]typeof|[^$.\\\\w]void)\\\\s+(?![\\\\n!%\\\\&(*+:?^{|~]|[-/<=>]=|[=>]>|\\\\.[^.]|-[^-]|/[^>]|(?:in|instanceof|satisfies|as|extends)\\\\s+[^,/:;=>]))\",\"name\":\"meta.marko-spread-attribute\",\"patterns\":[{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\s*(,(?!,))\",\"captures\":{\"1\":{\"name\":\"punctuation.separator.comma.marko\"}},\"end\":\"(?=\\\\S)\"},{\"include\":\"#invalid\"}]},\"cdata\":{\"begin\":\"\\\\s*<!\\\\[CDATA\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"contentName\":\"string.other.inline-data.marko\",\"end\":\"]]>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"name\":\"meta.tag.metadata.cdata.marko\"},\"concise-attr-group\":{\"begin\":\"\\\\s*(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"patterns\":[{\"include\":\"#concise-attr-group\"},{\"begin\":\"\\\\s+\",\"end\":\"(?=\\\\S)\"},{\"include\":\"#attrs\"},{\"include\":\"#invalid\"}]},\"concise-comment-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-comment-block\",\"patterns\":[{\"include\":\"#content-embedded-comment\"}]},\"concise-comment-line\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-comment-line\",\"patterns\":[{\"include\":\"#content-embedded-comment\"}]},\"concise-html-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-html-block\",\"patterns\":[{\"include\":\"#content-html-mode\"}]},\"concise-html-line\":{\"captures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#cdata\"},{\"include\":\"#doctype\"},{\"include\":\"#declaration\"},{\"include\":\"#javascript-comments-after-whitespace\"},{\"include\":\"#html-comment\"},{\"include\":\"#tag-html\"},{\"match\":\"\\\\\\\\.\",\"name\":\"text.marko\"},{\"include\":\"#placeholder\"},{\"match\":\".+?\",\"name\":\"text.marko\"}]},\"3\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"match\":\"\\\\s*(--+)(?=\\\\s+\\\\S)(.*)$()\",\"name\":\"meta.section.marko-html-line\"},\"concise-open-tag-content\":{\"patterns\":[{\"include\":\"#invalid-close-tag\"},{\"include\":\"#tag-before-attrs\"},{\"include\":\"#concise-semi-eol\"},{\"begin\":\"(?!^)[\\\\t ,]\",\"end\":\"(?=--)|(?=\\\\n)\",\"patterns\":[{\"include\":\"#concise-semi-eol\"},{\"include\":\"#concise-attr-group\"},{\"begin\":\"[\\\\t ]+\",\"end\":\"(?=[\\\\n\\\\S])\"},{\"include\":\"#attrs\"},{\"include\":\"#invalid\"}]}]},\"concise-script-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-script-block\",\"patterns\":[{\"include\":\"#content-embedded-script\"}]},\"concise-script-line\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-script-line\",\"patterns\":[{\"include\":\"#content-embedded-script\"}]},\"concise-semi-eol\":{\"begin\":\"\\\\s*(;)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.terminator.marko\"}},\"end\":\"$\",\"patterns\":[{\"include\":\"#javascript-comments\"},{\"include\":\"#html-comment\"},{\"include\":\"#invalid\"}]},\"concise-style-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.css\",\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style\"}]},\"concise-style-block-less\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.less\",\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]},\"concise-style-block-scss\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.scss\",\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]},\"concise-style-line\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.css\",\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style\"}]},\"concise-style-line-less\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.less\",\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]},\"concise-style-line-scss\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.scss\",\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]},\"content-concise-mode\":{\"name\":\"meta.marko-concise-content\",\"patterns\":[{\"include\":\"#scriptlet\"},{\"include\":\"#javascript-comments\"},{\"include\":\"#cdata\"},{\"include\":\"#doctype\"},{\"include\":\"#declaration\"},{\"include\":\"#html-comment\"},{\"include\":\"#concise-html-block\"},{\"include\":\"#concise-html-line\"},{\"include\":\"#invalid-close-tag\"},{\"include\":\"#tag-html\"},{\"patterns\":[{\"begin\":\"^(\\\\s*)(?=html-comment\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-comment-block\"},{\"include\":\"#concise-comment-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b\\\\S*\\\\.less\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block-less\"},{\"include\":\"#concise-style-line-less\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b\\\\S*\\\\.scss\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block-scss\"},{\"include\":\"#concise-style-line-scss\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b\\\\S*\\\\.[jt]s\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-script-block\"},{\"include\":\"#concise-script-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block\"},{\"include\":\"#concise-style-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?script\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-script-block\"},{\"include\":\"#concise-script-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^([\\\\t ]*)(?=[#$.0-9@-Z_a-z])\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#content-concise-mode\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"}]}]},\"content-embedded-comment\":{\"patterns\":[{\"include\":\"#placeholder\"},{\"match\":\".\",\"name\":\"comment.block.marko\"}]},\"content-embedded-script\":{\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.ts\"}]},\"content-embedded-style\":{\"name\":\"meta.embedded.css\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css\"}]},\"content-embedded-style-less\":{\"name\":\"meta.embedded.css.less\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css.less\"}]},\"content-embedded-style-scss\":{\"name\":\"meta.embedded.css.scss\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css.scss\"}]},\"content-html-mode\":{\"patterns\":[{\"include\":\"#scriptlet\"},{\"include\":\"#cdata\"},{\"include\":\"#doctype\"},{\"include\":\"#declaration\"},{\"include\":\"#javascript-comments-after-whitespace\"},{\"include\":\"#html-comment\"},{\"include\":\"#invalid-close-tag\"},{\"include\":\"#tag-html\"},{\"match\":\"\\\\\\\\.\",\"name\":\"text.marko\"},{\"include\":\"#placeholder\"},{\"match\":\".+?\",\"name\":\"text.marko\"}]},\"declaration\":{\"begin\":\"(<\\\\?)\\\\s*([-$0-9A-Z_a-z]*)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.marko\"},\"2\":{\"name\":\"entity.name.tag.marko\"}},\"end\":\"(\\\\??>)\",\"name\":\"meta.tag.metadata.processing.xml.marko\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.marko\"},\"2\":{\"name\":\"punctuation.separator.key-value.html\"},\"3\":{\"name\":\"string.quoted.double.marko\"},\"4\":{\"name\":\"string.quoted.single.marko\"},\"5\":{\"name\":\"string.unquoted.marko\"}},\"match\":\"((?:[^=>?\\\\s]|\\\\?(?!>))+)(=)(?:(\\\"(?:[^\\\"\\\\\\\\]|\\\\\\\\.)*\\\")|('(?:[^'\\\\\\\\]|\\\\\\\\.)*')|((?:[^>?\\\\s]|\\\\?(?!>))+))\"}]},\"doctype\":{\"begin\":\"\\\\s*<!(?=(?i:DOCTYPE\\\\s))\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"name\":\"meta.tag.metadata.doctype.marko\",\"patterns\":[{\"match\":\"\\\\G(?i:DOCTYPE)\",\"name\":\"entity.name.tag.marko\"},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.marko\"},{\"match\":\"[^>\\\\s]+\",\"name\":\"entity.other.attribute-name.marko\"}]},\"html-args-or-method\":{\"patterns\":[{\"include\":\"#tag-type-params\"},{\"begin\":\"\\\\s*(?=\\\\()\",\"contentName\":\"source.ts\",\"end\":\"(?<=\\\\))\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts#paren-expression\"}]},{\"begin\":\"(?<=\\\\))\\\\s*(?=\\\\{)\",\"contentName\":\"source.ts\",\"end\":\"(?<=})\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]}]},\"html-comment\":{\"begin\":\"\\\\s*(<!(--)?)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.marko\"}},\"end\":\"\\\\2>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.marko\"}},\"name\":\"comment.block.marko\"},\"invalid\":{\"match\":\"\\\\S\",\"name\":\"invalid.illegal.character-not-allowed-here.marko\"},\"invalid-close-tag\":{\"begin\":\"\\\\s*</.*?\",\"end\":\">\",\"name\":\"invalid.illegal.character-not-allowed-here.marko\"},\"javascript-comments\":{\"patterns\":[{\"begin\":\"\\\\s*(?=/\\\\*)\",\"contentName\":\"source.ts\",\"end\":\"(?<=\\\\*/)\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"\\\\s*//.*$\"}]},\"javascript-comments-after-whitespace\":{\"patterns\":[{\"begin\":\"(?:^|\\\\s+)(?=/\\\\*)\",\"contentName\":\"source.ts\",\"end\":\"(?<=\\\\*/)\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"(?:^|\\\\s+)//.*$\"}]},\"javascript-expression\":{\"patterns\":[{\"include\":\"#javascript-comments\"},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"(?:\\\\s*\\\\b(?:as|await|extends|in|instanceof|satisfies|keyof|new|typeof|void))+\\\\s+(?![,/:;=>])[#$0-9@-Z_a-z]*\"},{\"applyEndPatternLast\":1,\"captures\":{\"0\":{\"name\":\"string.regexp.ts\",\"patterns\":[{\"include\":\"source.ts#regexp\"},{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"(?<![]%).0-9<A-Za-z}])\\\\s*/(?:[^/\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[(?:[^]\\\\\\\\]|\\\\\\\\.)*])*/[A-Za-z]*\"},{\"include\":\"source.ts\"}]},\"javascript-placeholder\":{\"begin\":\"\\\\$\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.ts\"}},\"contentName\":\"source.ts\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.ts\"}},\"patterns\":[{\"include\":\"source.ts\"}]},\"open-tag-content\":{\"patterns\":[{\"include\":\"#invalid-close-tag\"},{\"include\":\"#tag-before-attrs\"},{\"begin\":\"(?!/?>)\",\"end\":\"(?=/?>)\",\"patterns\":[{\"include\":\"#attrs\"}]}]},\"placeholder\":{\"begin\":\"\\\\$!?\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.ts\"}},\"contentName\":\"source.ts\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.ts\"}},\"patterns\":[{\"include\":\"source.ts\"}]},\"scriptlet\":{\"begin\":\"^\\\\s*(\\\\$)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.scriptlet.marko\"}},\"contentName\":\"source.ts\",\"end\":\"$\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]},\"tag-before-attrs\":{\"patterns\":[{\"include\":\"#tag-name\"},{\"include\":\"#tag-shorthand-class-or-id\"},{\"begin\":\"/(?![*/])\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.separator.tag-variable.marko\"}},\"contentName\":\"source.ts\",\"end\":\"(?=[(,/;<>|]|:?=|\\\\s+[^:]|$)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"match\":\"[$A-Z_a-z][$0-9A-Z_a-z]*\",\"name\":\"variable.other.constant.object.ts\"},{\"begin\":\"\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.object.ts\"}},\"end\":\"}\",\"patterns\":[{\"include\":\"source.ts#object-binding-element\"},{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\[\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.array.ts\"}},\"end\":\"]\",\"patterns\":[{\"include\":\"source.ts#array-binding-element\"},{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\s*(:)(?!=)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.annotation.ts\"}},\"end\":\"(?=[](,;]|/>|(?<=[^=>])>|(?<!^|[!%\\\\&*:?^|~]|[-!%\\\\&*+/<-?^|~]=|[=>]>|[^.]\\\\.|[^-]-|[^+]\\\\+|[]%).0-9<A-Za-z}]\\\\s/|[^$.\\\\w]await|[^$.\\\\w]async|[^$.\\\\w]class|[^$.\\\\w]function|[^$.\\\\w]keyof|[^$.\\\\w]new|[^$.\\\\w]readonly|[^$.\\\\w]infer|[^$.\\\\w]typeof|[^$.\\\\w]void)\\\\s+(?![\\\\n!%\\\\&*+:?^{|~]|[-/<=>]=|[=>]>|\\\\.[^.]|-[^-]|/[^>]|(?:in|instanceof|satisfies|as|extends)\\\\s+[^,/:;=>]))\",\"patterns\":[{\"include\":\"source.ts#type\"},{\"include\":\"#javascript-expression\"}]},{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\s*\\\\|\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"contentName\":\"source.ts\",\"end\":\"\\\\|\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"patterns\":[{\"include\":\"source.ts#comment\"},{\"include\":\"source.ts#string\"},{\"include\":\"source.ts#decorator\"},{\"include\":\"source.ts#destructuring-parameter\"},{\"include\":\"source.ts#parameter-name\"},{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.annotation.ts\"}},\"end\":\"(?=[,|])|(?==[^>])\",\"name\":\"meta.type.annotation.ts\",\"patterns\":[{\"include\":\"source.ts#type\"}]},{\"include\":\"source.ts#variable-initializer\"},{\"match\":\",\",\"name\":\"punctuation.separator.parameter.ts\"},{\"include\":\"source.ts\"}]},{\"include\":\"#html-args-or-method\"},{\"include\":\"#attr-value\"}]},\"tag-html\":{\"patterns\":[{\"begin\":\"\\\\s*(<)(?=(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr|const|debug|id|let|lifecycle|log|return)\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/?>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"}]},{\"begin\":\"\\\\s*(<)(?=html-comment\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</(?:>|html-comment>))\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"end\":\"\\\\s*</(?:>|html-comment>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-comment\"}]}]},{\"begin\":\"\\\\s*(<)(?=((?:html-)?style)\\\\b\\\\S*\\\\.less\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</\\\\2??>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.less\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]}]},{\"begin\":\"\\\\s*(<)(?=((?:html-)?style)\\\\b\\\\S*\\\\.scss\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</\\\\2??>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.scss\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]}]},{\"begin\":\"\\\\s*(<)(?=((?:html-)?style)\\\\b\\\\S*\\\\.[jt]s\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</\\\\2??>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.ts\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-script\"}]}]},{\"begin\":\"\\\\s*(<)(?=((?:html-)?style)\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</\\\\2??>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.css\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style\"}]}]},{\"begin\":\"\\\\s*(<)(?=((?:html-)?script)\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</\\\\2??>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.ts\",\"end\":\"\\\\s*(</)((?:html-)?script)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-script\"}]}]},{\"begin\":\"\\\\s*(<)(?=[#$.]|([-$0-9@-Z_a-z]+))\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</\\\\2??>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"end\":\"\\\\s*(</)([-#$.0-:@-Z_a-z]+)?(.*?)(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"},{\"include\":\"#tag-shorthand-class-or-id\"}]},\"3\":{\"patterns\":[{\"include\":\"#invalid\"}]},\"4\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-html-mode\"}]}]}]},\"tag-name\":{\"patterns\":[{\"applyEndPatternLast\":1,\"begin\":\"\\\\G(style)\\\\b(\\\\.[-$0-9A-Z_a-z]+(?:\\\\.[-$0-9A-Z_a-z]+)*)|([0-9@-Z_a-z](?:[-0-9@-Z_a-z]|:(?!=))*)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.type.marko.css\"},\"3\":{\"patterns\":[{\"match\":\"(script|style|html-script|html-style|html-comment)(?=\\\\b)(?![-:@])\",\"name\":\"support.type.builtin.marko\"},{\"match\":\"(for|if|while|else-if|else|try|await|return)(?=\\\\b)(?![-:@])\",\"name\":\"keyword.control.flow.marko\"},{\"match\":\"(const|context|debug|define|id|let|log|lifecycle)(?=\\\\b)(?![-:@])\",\"name\":\"support.function.marko\"},{\"match\":\"@.+\",\"name\":\"entity.other.attribute-name.marko\"},{\"match\":\".+\",\"name\":\"entity.name.tag.marko\"}]}},\"end\":\"(?=.)\",\"patterns\":[{\"include\":\"#tag-type-args\"}]},{\"begin\":\"(?=[$0-9A-Z_a-z]|-[^-])\",\"end\":\"(?=[^-$0-9A-Z_a-z]|$)\",\"patterns\":[{\"include\":\"#javascript-placeholder\"},{\"match\":\"(?:[-0-9A-Z_a-z]|\\\\$(?!\\\\{))+\",\"name\":\"entity.name.tag.marko\"}]}]},\"tag-shorthand-class-or-id\":{\"begin\":\"(?=[#.])\",\"end\":\"$|(?=--|[^-#$.0-9A-Z_a-z])\",\"patterns\":[{\"include\":\"#javascript-placeholder\"},{\"match\":\"(?:[-#.0-9A-Z_a-z]|\\\\$(?!\\\\{))+\",\"name\":\"entity.other.attribute-name.marko\"}]},\"tag-type-args\":{\"applyEndPatternLast\":1,\"begin\":\"(?=<)\",\"contentName\":\"source.ts\",\"end\":\"(?<=>)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"applyEndPatternLast\":1,\"begin\":\"(?<=>)(?=[\\\\t ]*<)\",\"end\":\"(?=.)\",\"patterns\":[{\"include\":\"#tag-type-params\"}]},{\"include\":\"source.ts#type-arguments\"}]},\"tag-type-params\":{\"applyEndPatternLast\":1,\"begin\":\"(?!^)[\\\\t ]*(?=<)\",\"contentName\":\"source.ts\",\"end\":\"(?<=>)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts#type-parameters\"}]}},\"scopeName\":\"text.marko\",\"embeddedLangs\":[\"css\",\"less\",\"scss\",\"typescript\"]}"))
|
|
6
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Marko\",\"fileTypes\":[\"marko\"],\"name\":\"marko\",\"patterns\":[{\"begin\":\"^\\\\s*(style)(\\\\b\\\\S*\\\\.css)?\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.css\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.css\",\"patterns\":[{\"include\":\"source.css\"}]},{\"begin\":\"^\\\\s*(style)\\\\b(\\\\S*\\\\.less)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.less\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.less\",\"patterns\":[{\"include\":\"source.css.less\"}]},{\"begin\":\"^\\\\s*(style)\\\\b(\\\\S*\\\\.scss)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.scss\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.scss\",\"patterns\":[{\"include\":\"source.css.scss\"}]},{\"begin\":\"^\\\\s*(style)\\\\b(\\\\S*\\\\.[jt]s)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.ts\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"begin\":\"^\\\\s*(?:(static|server|client)\\\\b|(?=(?:class|import|export)\\\\b))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.static.marko\"}},\"contentName\":\"source.ts\",\"end\":\"(?=\\\\n|$)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"include\":\"#content-concise-mode\"}],\"repository\":{\"attr-value\":{\"begin\":\"\\\\s*(:?=)\\\\s*\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"end\":\"(?=[],;]|/>|(?<=[^=>])>|(?<!^|[!%\\\\&*:?^|~]|[-!%\\\\&*+/<-?^|~]=|[=>]>|[^.]\\\\.|[^-]-|[^+]\\\\+|[]%).0-9<A-Za-z}]\\\\s/|[^$.\\\\w]await|[^$.\\\\w]async|[^$.\\\\w]class|[^$.\\\\w]function|[^$.\\\\w]keyof|[^$.\\\\w]new|[^$.\\\\w]readonly|[^$.\\\\w]infer|[^$.\\\\w]typeof|[^$.\\\\w]void)\\\\s+(?![\\\\n!%\\\\&(*+:?^{|~]|[-/<=>]=|[=>]>|\\\\.[^.]|-[^-]|/[^>]|(?:in|instanceof|satisfies|as|extends)\\\\s+[^,/:;=>]))\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"#javascript-expression\"}]},\"attrs\":{\"patterns\":[{\"include\":\"#javascript-comments\"},{\"applyEndPatternLast\":1,\"begin\":\"(?:(key|on[-$0-9A-Z_a-z]+|[$0-9A-Z_a-z]+Change|no-update(?:-body)?(?:-if)?)|([$0-9A-Z_a-z][-$0-9A-Z_a-z]*)|(#[$0-9A-Z_a-z][-$0-9A-Z_a-z]*))(:[$0-9A-Z_a-z][-$0-9A-Z_a-z]*)?\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.attribute-name.marko\"},\"2\":{\"name\":\"entity.other.attribute-name.marko\"},\"3\":{\"name\":\"support.function.attribute-name.marko\"},\"4\":{\"name\":\"support.function.attribute-name.marko\"}},\"end\":\"(?=.|$)\",\"name\":\"meta.marko-attribute\",\"patterns\":[{\"include\":\"#html-args-or-method\"},{\"include\":\"#attr-value\"}]},{\"begin\":\"(\\\\.\\\\.\\\\.)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.spread.marko\"}},\"contentName\":\"source.ts\",\"end\":\"(?=[],;]|/>|(?<=[^=>])>|(?<!^|[!%\\\\&*:?^|~]|[-!%\\\\&*+/<-?^|~]=|[=>]>|[^.]\\\\.|[^-]-|[^+]\\\\+|[]%).0-9<A-Za-z}]\\\\s/|[^$.\\\\w]await|[^$.\\\\w]async|[^$.\\\\w]class|[^$.\\\\w]function|[^$.\\\\w]keyof|[^$.\\\\w]new|[^$.\\\\w]readonly|[^$.\\\\w]infer|[^$.\\\\w]typeof|[^$.\\\\w]void)\\\\s+(?![\\\\n!%\\\\&(*+:?^{|~]|[-/<=>]=|[=>]>|\\\\.[^.]|-[^-]|/[^>]|(?:in|instanceof|satisfies|as|extends)\\\\s+[^,/:;=>]))\",\"name\":\"meta.marko-spread-attribute\",\"patterns\":[{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\s*(,(?!,))\",\"captures\":{\"1\":{\"name\":\"punctuation.separator.comma.marko\"}},\"end\":\"(?=\\\\S)\"},{\"include\":\"#invalid\"}]},\"cdata\":{\"begin\":\"\\\\s*<!\\\\[CDATA\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"contentName\":\"string.other.inline-data.marko\",\"end\":\"]]>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"name\":\"meta.tag.metadata.cdata.marko\"},\"concise-attr-group\":{\"begin\":\"\\\\s*(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"patterns\":[{\"include\":\"#concise-attr-group\"},{\"begin\":\"\\\\s+\",\"end\":\"(?=\\\\S)\"},{\"include\":\"#attrs\"},{\"include\":\"#invalid\"}]},\"concise-comment-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-comment-block\",\"patterns\":[{\"include\":\"#content-embedded-comment\"}]},\"concise-comment-line\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-comment-line\",\"patterns\":[{\"include\":\"#content-embedded-comment\"}]},\"concise-html-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-html-block\",\"patterns\":[{\"include\":\"#content-html-mode\"}]},\"concise-html-line\":{\"captures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#cdata\"},{\"include\":\"#doctype\"},{\"include\":\"#declaration\"},{\"include\":\"#javascript-comments-after-whitespace\"},{\"include\":\"#html-comment\"},{\"include\":\"#tag-html\"},{\"match\":\"\\\\\\\\.\",\"name\":\"text.marko\"},{\"include\":\"#placeholder\"},{\"match\":\".+?\",\"name\":\"text.marko\"}]},\"3\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"match\":\"\\\\s*(--+)(?=\\\\s+\\\\S)(.*)$()\",\"name\":\"meta.section.marko-html-line\"},\"concise-open-tag-content\":{\"patterns\":[{\"include\":\"#invalid-close-tag\"},{\"include\":\"#tag-before-attrs\"},{\"include\":\"#concise-semi-eol\"},{\"begin\":\"(?!^)[\\\\t ,]\",\"end\":\"(?=--)|(?=\\\\n)\",\"patterns\":[{\"include\":\"#concise-semi-eol\"},{\"include\":\"#concise-attr-group\"},{\"begin\":\"[\\\\t ]+\",\"end\":\"(?=[\\\\n\\\\S])\"},{\"include\":\"#attrs\"},{\"include\":\"#invalid\"}]}]},\"concise-script-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-script-block\",\"patterns\":[{\"include\":\"#content-embedded-script\"}]},\"concise-script-line\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-script-line\",\"patterns\":[{\"include\":\"#content-embedded-script\"}]},\"concise-semi-eol\":{\"begin\":\"\\\\s*(;)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.terminator.marko\"}},\"end\":\"$\",\"patterns\":[{\"include\":\"#javascript-comments\"},{\"include\":\"#html-comment\"},{\"include\":\"#invalid\"}]},\"concise-style-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.css\",\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style\"}]},\"concise-style-block-less\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.less\",\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]},\"concise-style-block-scss\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.scss\",\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]},\"concise-style-line\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.css\",\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style\"}]},\"concise-style-line-less\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.less\",\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]},\"concise-style-line-scss\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.scss\",\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]},\"content-concise-mode\":{\"name\":\"meta.marko-concise-content\",\"patterns\":[{\"include\":\"#scriptlet\"},{\"include\":\"#javascript-comments\"},{\"include\":\"#cdata\"},{\"include\":\"#doctype\"},{\"include\":\"#declaration\"},{\"include\":\"#html-comment\"},{\"include\":\"#concise-html-block\"},{\"include\":\"#concise-html-line\"},{\"include\":\"#invalid-close-tag\"},{\"include\":\"#tag-html\"},{\"patterns\":[{\"begin\":\"^(\\\\s*)(?=html-comment\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-comment-block\"},{\"include\":\"#concise-comment-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b\\\\S*\\\\.less\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block-less\"},{\"include\":\"#concise-style-line-less\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b\\\\S*\\\\.scss\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block-scss\"},{\"include\":\"#concise-style-line-scss\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b\\\\S*\\\\.[jt]s\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-script-block\"},{\"include\":\"#concise-script-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block\"},{\"include\":\"#concise-style-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?script\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-script-block\"},{\"include\":\"#concise-script-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^([\\\\t ]*)(?=[#$.0-9@-Z_a-z])\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#content-concise-mode\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"}]}]},\"content-embedded-comment\":{\"patterns\":[{\"include\":\"#placeholder\"},{\"match\":\".\",\"name\":\"comment.block.marko\"}]},\"content-embedded-script\":{\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.ts\"}]},\"content-embedded-style\":{\"name\":\"meta.embedded.css\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css\"}]},\"content-embedded-style-less\":{\"name\":\"meta.embedded.css.less\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css.less\"}]},\"content-embedded-style-scss\":{\"name\":\"meta.embedded.css.scss\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css.scss\"}]},\"content-html-mode\":{\"patterns\":[{\"include\":\"#scriptlet\"},{\"include\":\"#cdata\"},{\"include\":\"#doctype\"},{\"include\":\"#declaration\"},{\"include\":\"#javascript-comments-after-whitespace\"},{\"include\":\"#html-comment\"},{\"include\":\"#invalid-close-tag\"},{\"include\":\"#tag-html\"},{\"match\":\"\\\\\\\\.\",\"name\":\"text.marko\"},{\"include\":\"#placeholder\"},{\"match\":\".+?\",\"name\":\"text.marko\"}]},\"declaration\":{\"begin\":\"(<\\\\?)\\\\s*([-$0-9A-Z_a-z]*)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.marko\"},\"2\":{\"name\":\"entity.name.tag.marko\"}},\"end\":\"(\\\\??>)\",\"name\":\"meta.tag.metadata.processing.xml.marko\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.marko\"},\"2\":{\"name\":\"punctuation.separator.key-value.html\"},\"3\":{\"name\":\"string.quoted.double.marko\"},\"4\":{\"name\":\"string.quoted.single.marko\"},\"5\":{\"name\":\"string.unquoted.marko\"}},\"match\":\"((?:[^=>?\\\\s]|\\\\?(?!>))+)(=)(?:(\\\"(?:[^\\\"\\\\\\\\]|\\\\\\\\.)*\\\")|('(?:[^'\\\\\\\\]|\\\\\\\\.)*')|((?:[^>?\\\\s]|\\\\?(?!>))+))\"}]},\"doctype\":{\"begin\":\"\\\\s*<!(?=(?i:DOCTYPE\\\\s))\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"name\":\"meta.tag.metadata.doctype.marko\",\"patterns\":[{\"match\":\"\\\\G(?i:DOCTYPE)\",\"name\":\"entity.name.tag.marko\"},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.marko\"},{\"match\":\"[^>\\\\s]+\",\"name\":\"entity.other.attribute-name.marko\"}]},\"html-args-or-method\":{\"patterns\":[{\"include\":\"#tag-type-params\"},{\"begin\":\"\\\\s*(?=\\\\()\",\"contentName\":\"source.ts\",\"end\":\"(?<=\\\\))\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts#paren-expression\"}]},{\"begin\":\"(?<=\\\\))\\\\s*(?=\\\\{)\",\"contentName\":\"source.ts\",\"end\":\"(?<=})\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]}]},\"html-comment\":{\"begin\":\"\\\\s*(<!(--)?)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.marko\"}},\"end\":\"\\\\2>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.marko\"}},\"name\":\"comment.block.marko\"},\"invalid\":{\"match\":\"\\\\S\",\"name\":\"invalid.illegal.character-not-allowed-here.marko\"},\"invalid-close-tag\":{\"begin\":\"\\\\s*</[^>]*\",\"end\":\">\",\"name\":\"invalid.illegal.character-not-allowed-here.marko\"},\"javascript-comments\":{\"patterns\":[{\"begin\":\"\\\\s*(?=/\\\\*)\",\"contentName\":\"source.ts\",\"end\":\"(?<=\\\\*/)\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"\\\\s*//.*$\"}]},\"javascript-comments-after-whitespace\":{\"patterns\":[{\"begin\":\"(?:^|\\\\s+)(?=/\\\\*)\",\"contentName\":\"source.ts\",\"end\":\"(?<=\\\\*/)\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"(?:^|\\\\s+)//.*$\"}]},\"javascript-expression\":{\"patterns\":[{\"include\":\"#javascript-comments\"},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"(?:\\\\s*\\\\b(?:as|await|extends|in|instanceof|satisfies|keyof|new|typeof|void))+\\\\s+(?![,/:;=>])[#$0-9@-Z_a-z]*\"},{\"applyEndPatternLast\":1,\"captures\":{\"0\":{\"name\":\"string.regexp.ts\",\"patterns\":[{\"include\":\"source.ts#regexp\"},{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"(?<![]%).0-9<A-Za-z}])\\\\s*/(?:[^/\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[(?:[^]\\\\\\\\]|\\\\\\\\.)*])*/[A-Za-z]*\"},{\"include\":\"source.ts\"}]},\"javascript-placeholder\":{\"begin\":\"\\\\$\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.ts\"}},\"contentName\":\"source.ts\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.ts\"}},\"patterns\":[{\"include\":\"source.ts\"}]},\"open-tag-content\":{\"patterns\":[{\"include\":\"#invalid-close-tag\"},{\"include\":\"#tag-before-attrs\"},{\"begin\":\"(?!/?>)\",\"end\":\"(?=/?>)\",\"patterns\":[{\"include\":\"#attrs\"}]}]},\"placeholder\":{\"begin\":\"\\\\$!?\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.ts\"}},\"contentName\":\"source.ts\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.ts\"}},\"patterns\":[{\"include\":\"source.ts\"}]},\"scriptlet\":{\"begin\":\"^\\\\s*(\\\\$)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.scriptlet.marko\"}},\"contentName\":\"source.ts\",\"end\":\"$\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]},\"tag-before-attrs\":{\"patterns\":[{\"include\":\"#tag-name\"},{\"include\":\"#tag-shorthand-class-or-id\"},{\"begin\":\"/(?![*/])\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.separator.tag-variable.marko\"}},\"contentName\":\"source.ts\",\"end\":\"(?=[(,/;<>|]|:?=|\\\\s+[^:]|$)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"match\":\"[$A-Z_a-z][$0-9A-Z_a-z]*\",\"name\":\"variable.other.constant.object.ts\"},{\"begin\":\"\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.object.ts\"}},\"end\":\"}\",\"patterns\":[{\"include\":\"source.ts#object-binding-element\"},{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\[\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.array.ts\"}},\"end\":\"]\",\"patterns\":[{\"include\":\"source.ts#array-binding-element\"},{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\s*(:)(?!=)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.annotation.ts\"}},\"end\":\"(?=[](,;]|/>|(?<=[^=>])>|(?<!^|[!%\\\\&*:?^|~]|[-!%\\\\&*+/<-?^|~]=|[=>]>|[^.]\\\\.|[^-]-|[^+]\\\\+|[]%).0-9<A-Za-z}]\\\\s/|[^$.\\\\w]await|[^$.\\\\w]async|[^$.\\\\w]class|[^$.\\\\w]function|[^$.\\\\w]keyof|[^$.\\\\w]new|[^$.\\\\w]readonly|[^$.\\\\w]infer|[^$.\\\\w]typeof|[^$.\\\\w]void)\\\\s+(?![\\\\n!%\\\\&*+:?^{|~]|[-/<=>]=|[=>]>|\\\\.[^.]|-[^-]|/[^>]|(?:in|instanceof|satisfies|as|extends)\\\\s+[^,/:;=>]))\",\"patterns\":[{\"include\":\"source.ts#type\"},{\"include\":\"#javascript-expression\"}]},{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\s*\\\\|\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"contentName\":\"source.ts\",\"end\":\"\\\\|\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"patterns\":[{\"include\":\"source.ts#comment\"},{\"include\":\"source.ts#string\"},{\"include\":\"source.ts#decorator\"},{\"include\":\"source.ts#destructuring-parameter\"},{\"include\":\"source.ts#parameter-name\"},{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.annotation.ts\"}},\"end\":\"(?=[,|])|(?==[^>])\",\"name\":\"meta.type.annotation.ts\",\"patterns\":[{\"include\":\"source.ts#type\"}]},{\"include\":\"source.ts#variable-initializer\"},{\"match\":\",\",\"name\":\"punctuation.separator.parameter.ts\"},{\"include\":\"source.ts\"}]},{\"include\":\"#html-args-or-method\"},{\"include\":\"#attr-value\"}]},\"tag-html\":{\"patterns\":[{\"begin\":\"\\\\s*(<)(?=(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr|const|debug|id|let|lifecycle|log|return)\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/?>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"}]},{\"begin\":\"\\\\s*(<)(?=html-comment\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</(?:>|html-comment>))\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"end\":\"\\\\s*</(?:>|html-comment>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-comment\"}]}]},{\"begin\":\"\\\\s*(<)(?=((?:html-)?style)\\\\b\\\\S*\\\\.less\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</>)|(?<=</\\\\2>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.less\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]}]},{\"begin\":\"\\\\s*(<)(?=((?:html-)?style)\\\\b\\\\S*\\\\.scss\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</>)|(?<=</\\\\2>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.scss\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]}]},{\"begin\":\"\\\\s*(<)(?=((?:html-)?style)\\\\b\\\\S*\\\\.[jt]s\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</>)|(?<=</\\\\2>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.ts\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-script\"}]}]},{\"begin\":\"\\\\s*(<)(?=((?:html-)?style)\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</>)|(?<=</\\\\2>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.css\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style\"}]}]},{\"begin\":\"\\\\s*(<)(?=((?:html-)?script)\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</>)|(?<=</\\\\2>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.ts\",\"end\":\"\\\\s*(</)((?:html-)?script)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-script\"}]}]},{\"begin\":\"\\\\s*(<)(?=[#$.]|([-$0-9@-Z_a-z]+))\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</>)|(?<=</\\\\2>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"end\":\"\\\\s*(</)([-#$.0-:@-Z_a-z]+)?([^>]*)(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"},{\"include\":\"#tag-shorthand-class-or-id\"}]},\"3\":{\"patterns\":[{\"include\":\"#invalid\"}]},\"4\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-html-mode\"}]}]}]},\"tag-name\":{\"patterns\":[{\"applyEndPatternLast\":1,\"begin\":\"\\\\G(style)\\\\b(\\\\.[-$0-9A-Z_a-z]+(?:\\\\.[-$0-9A-Z_a-z]+)*)|([0-9@-Z_a-z](?:[-0-9@-Z_a-z]|:(?!=))*)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.type.marko.css\"},\"3\":{\"patterns\":[{\"match\":\"(script|style|html-script|html-style|html-comment)(?=\\\\b)(?![-:@])\",\"name\":\"support.type.builtin.marko\"},{\"match\":\"(for|if|while|else-if|else|try|await|return)(?=\\\\b)(?![-:@])\",\"name\":\"keyword.control.flow.marko\"},{\"match\":\"(const|context|debug|define|id|let|log|lifecycle)(?=\\\\b)(?![-:@])\",\"name\":\"support.function.marko\"},{\"match\":\"@.+\",\"name\":\"entity.other.attribute-name.marko\"},{\"match\":\".+\",\"name\":\"entity.name.tag.marko\"}]}},\"end\":\"(?=.)\",\"patterns\":[{\"include\":\"#tag-type-args\"}]},{\"begin\":\"(?=[$0-9A-Z_a-z]|-[^-])\",\"end\":\"(?=[^-$0-9A-Z_a-z]|$)\",\"patterns\":[{\"include\":\"#javascript-placeholder\"},{\"match\":\"(?:[-0-9A-Z_a-z]|\\\\$(?!\\\\{))+\",\"name\":\"entity.name.tag.marko\"}]}]},\"tag-shorthand-class-or-id\":{\"begin\":\"(?=[#.])\",\"end\":\"$|(?=--|[^-#$.0-9A-Z_a-z])\",\"patterns\":[{\"include\":\"#javascript-placeholder\"},{\"match\":\"(?:[-#.0-9A-Z_a-z]|\\\\$(?!\\\\{))+\",\"name\":\"entity.other.attribute-name.marko\"}]},\"tag-type-args\":{\"applyEndPatternLast\":1,\"begin\":\"(?=<)\",\"contentName\":\"source.ts\",\"end\":\"(?<=>)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"applyEndPatternLast\":1,\"begin\":\"(?<=>)(?=[\\\\t ]*<)\",\"end\":\"(?=.)\",\"patterns\":[{\"include\":\"#tag-type-params\"}]},{\"include\":\"source.ts#type-arguments\"}]},\"tag-type-params\":{\"applyEndPatternLast\":1,\"begin\":\"(?!^)[\\\\t ]*(?=<)\",\"contentName\":\"source.ts\",\"end\":\"(?<=>)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts#type-parameters\"}]}},\"scopeName\":\"text.marko\",\"embeddedLangs\":[\"css\",\"less\",\"scss\",\"typescript\"]}"))
|
|
7
7
|
|
|
8
8
|
export default [
|
|
9
9
|
...css,
|
package/dist/mbt.d.mts
ADDED
package/dist/mbt.mjs
ADDED
package/dist/mbti.d.mts
ADDED
package/dist/mbti.mjs
ADDED