tm-grammars 1.4.6 → 1.4.7

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/README.md CHANGED
@@ -125,7 +125,7 @@ import { grammars } from 'tm-grammars'
125
125
  | `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/de9244e81505ff9154dc9422dbce434ac86fb981/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | 13.82 kB |
126
126
  | `narrat` | `nar` | [liana-p/narrat-syntax-highlighting-vscode](https://github.com/liana-p/narrat-syntax-highlighting-vscode/blob/00d4b410338fc50ca0ce77a1f7e873c1fb66d376/syntaxes/narrat.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/liana-p/narrat-syntax-highlighting-vscode/main/LICENSE) | | 3.41 kB |
127
127
  | `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/7eeb9be8d01556b7c51c59307275c2f720f2ddf4/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/master/LICENSE.md) | | 4.40 kB |
128
- | `nginx` | | [hangxingliu/vscode-nginx-conf-hint](https://github.com/hangxingliu/vscode-nginx-conf-hint/blob/0582d5b71a31ff893b3587996b233f22239fba57/src/syntax/nginx.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/hangxingliu/vscode-nginx-conf-hint/main/LICENSE) | `lua` | 32.83 kB |
128
+ | `nginx` | | [hangxingliu/vscode-nginx-conf-hint](https://github.com/hangxingliu/vscode-nginx-conf-hint/blob/49159c02fd09dce264ded7802c9499a0f09646f5/src/syntax/nginx.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/hangxingliu/vscode-nginx-conf-hint/main/LICENSE) | `lua` | 34.14 kB |
129
129
  | `nim` | | [pragmagic/vscode-nim](https://github.com/pragmagic/vscode-nim/blob/0272a0544ddf147fde98f8a8f2b624b7dcb19eb3/syntaxes/nim.json) | [NOASSERTION](https://raw.githubusercontent.com/pragmagic/vscode-nim/master/LICENSE) | `c` `html` `xml` `javascript` `css` `glsl` `markdown` | 21.82 kB |
130
130
  | `nix` | | [bbenoist/vscode-nix](https://github.com/bbenoist/vscode-nix/blob/9a7c81109624431e032d9b02c8029b13bc2000c8/syntaxes/nix.tmLanguage) | [MIT](https://raw.githubusercontent.com/bbenoist/vscode-nix/master/LICENSE.md) | | 14.32 kB |
131
131
  | `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/290cb5017fd431369dbe1b3a357ed5a62999f1e0/syntaxes/nushell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE) | | 17.65 kB |
@@ -482,7 +482,7 @@
482
482
  ]
483
483
  },
484
484
  {
485
- "begin": "([\"'\\s]|^)(auth_)(delay|basic|basic_user_file|jwt|jwt_claim_set|jwt_header_set|jwt_key_file|jwt_key_request|jwt_leeway|jwt_type|jwt_require|request|request_set|http|http_header|http_pass_client_cert|http_timeout)([\"'\\s]|$)",
485
+ "begin": "([\"'\\s]|^)(auth_)(delay|basic|basic_user_file|jwt|jwt_claim_set|jwt_header_set|jwt_key_cache|jwt_key_file|jwt_key_request|jwt_leeway|jwt_type|jwt_require|request|request_set|http|http_header|http_pass_client_cert|http_timeout)([\"'\\s]|$)",
486
486
  "beginCaptures": {
487
487
  "1": {
488
488
  "name": "keyword.directive.nginx"
@@ -1266,7 +1266,7 @@
1266
1266
  ]
1267
1267
  },
1268
1268
  {
1269
- "begin": "([\"'\\s]|^)(memcached_)(bind|buffer_size|connect_timeout|force_ranges|gzip_flag|next_upstream|next_upstream_timeout|next_upstream_tries|pass|read_timeout|send_timeout|socket_keepalive)([\"'\\s]|$)",
1269
+ "begin": "([\"'\\s]|^)(memcached_)(bind|buffer_size|connect_timeout|gzip_flag|next_upstream|next_upstream_timeout|next_upstream_tries|pass|read_timeout|send_timeout|socket_keepalive)([\"'\\s]|$)",
1270
1270
  "beginCaptures": {
1271
1271
  "1": {
1272
1272
  "name": "keyword.directive.nginx"
@@ -1294,7 +1294,7 @@
1294
1294
  ]
1295
1295
  },
1296
1296
  {
1297
- "begin": "([\"'\\s]|^)(mp4_)(buffer_size|max_buffer_size|limit_rate|limit_rate_after)([\"'\\s]|$)",
1297
+ "begin": "([\"'\\s]|^)(mp4_)(buffer_size|max_buffer_size|limit_rate|limit_rate_after|start_key_frame)([\"'\\s]|$)",
1298
1298
  "beginCaptures": {
1299
1299
  "1": {
1300
1300
  "name": "keyword.directive.nginx"
@@ -1518,7 +1518,7 @@
1518
1518
  ]
1519
1519
  },
1520
1520
  {
1521
- "begin": "([\"'\\s]|^)(spdy_)(chunk_size|headers_comp)([\"'\\s]|$)",
1521
+ "begin": "([\"'\\s]|^)(ssi_)(last_modified|min_file_chunk|silent_errors|types|value_length)([\"'\\s]|$)",
1522
1522
  "beginCaptures": {
1523
1523
  "1": {
1524
1524
  "name": "keyword.directive.nginx"
@@ -1546,7 +1546,7 @@
1546
1546
  ]
1547
1547
  },
1548
1548
  {
1549
- "begin": "([\"'\\s]|^)(ssi_)(last_modified|min_file_chunk|silent_errors|types|value_length)([\"'\\s]|$)",
1549
+ "begin": "([\"'\\s]|^)(sub_)(filter|filter_last_modified|filter_once|filter_types)([\"'\\s]|$)",
1550
1550
  "beginCaptures": {
1551
1551
  "1": {
1552
1552
  "name": "keyword.directive.nginx"
@@ -1574,7 +1574,7 @@
1574
1574
  ]
1575
1575
  },
1576
1576
  {
1577
- "begin": "([\"'\\s]|^)(sub_)(filter|filter_last_modified|filter_once|filter_types)([\"'\\s]|$)",
1577
+ "begin": "([\"'\\s]|^)(health_)(check|check_timeout)([\"'\\s]|$)",
1578
1578
  "beginCaptures": {
1579
1579
  "1": {
1580
1580
  "name": "keyword.directive.nginx"
@@ -1602,7 +1602,7 @@
1602
1602
  ]
1603
1603
  },
1604
1604
  {
1605
- "begin": "([\"'\\s]|^)(health_)(check|check_timeout)([\"'\\s]|$)",
1605
+ "begin": "([\"'\\s]|^)(userid_)(domain|expires|flags|mark|name|p3p|path|service)([\"'\\s]|$)",
1606
1606
  "beginCaptures": {
1607
1607
  "1": {
1608
1608
  "name": "keyword.directive.nginx"
@@ -1630,7 +1630,7 @@
1630
1630
  ]
1631
1631
  },
1632
1632
  {
1633
- "begin": "([\"'\\s]|^)(userid_)(domain|expires|flags|mark|name|p3p|path|service)([\"'\\s]|$)",
1633
+ "begin": "([\"'\\s]|^)(uwsgi_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|connect_timeout|force_ranges|hide_header|ignore_client_abort|ignore_headers|intercept_errors|limit_rate|max_temp_file_size|modifier1|modifier2|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|param|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|request_buffering|send_timeout|socket_keepalive|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_conf_command|ssl_crl|ssl_name|ssl_password_file|ssl_protocols|ssl_server_name|ssl_session_reuse|ssl_trusted_certificate|ssl_verify|ssl_verify_depth|store|store_access|temp_file_write_size|temp_path)([\"'\\s]|$)",
1634
1634
  "beginCaptures": {
1635
1635
  "1": {
1636
1636
  "name": "keyword.directive.nginx"
@@ -1658,7 +1658,7 @@
1658
1658
  ]
1659
1659
  },
1660
1660
  {
1661
- "begin": "([\"'\\s]|^)(uwsgi_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|connect_timeout|force_ranges|hide_header|ignore_client_abort|ignore_headers|intercept_errors|limit_rate|max_temp_file_size|modifier1|modifier2|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|param|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|request_buffering|send_timeout|socket_keepalive|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_conf_command|ssl_crl|ssl_name|ssl_password_file|ssl_protocols|ssl_server_name|ssl_session_reuse|ssl_trusted_certificate|ssl_verify|ssl_verify_depth|store|store_access|temp_file_write_size|temp_path)([\"'\\s]|$)",
1661
+ "begin": "([\"'\\s]|^)(http2_)(body_preread_size|chunk_size|idle_timeout|max_concurrent_pushes|max_concurrent_streams|max_field_size|max_header_size|max_requests|push|push_preload|recv_buffer_size|recv_timeout)([\"'\\s]|$)",
1662
1662
  "beginCaptures": {
1663
1663
  "1": {
1664
1664
  "name": "keyword.directive.nginx"
@@ -1686,7 +1686,35 @@
1686
1686
  ]
1687
1687
  },
1688
1688
  {
1689
- "begin": "([\"'\\s]|^)(http2_)(body_preread_size|chunk_size|idle_timeout|max_concurrent_pushes|max_concurrent_streams|max_field_size|max_header_size|max_requests|push|push_preload|recv_buffer_size|recv_timeout)([\"'\\s]|$)",
1689
+ "begin": "([\"'\\s]|^)(http3_)(hq|max_concurrent_streams|stream_buffer_size)([\"'\\s]|$)",
1690
+ "beginCaptures": {
1691
+ "1": {
1692
+ "name": "keyword.directive.nginx"
1693
+ },
1694
+ "2": {
1695
+ "name": "keyword.directive.nginx"
1696
+ },
1697
+ "3": {
1698
+ "name": "keyword.directive.nginx"
1699
+ },
1700
+ "4": {
1701
+ "name": "keyword.directive.nginx"
1702
+ }
1703
+ },
1704
+ "end": ";",
1705
+ "endCaptures": {
1706
+ "0": {
1707
+ "name": "punctuation.terminator.nginx"
1708
+ }
1709
+ },
1710
+ "patterns": [
1711
+ {
1712
+ "include": "#values"
1713
+ }
1714
+ ]
1715
+ },
1716
+ {
1717
+ "begin": "([\"'\\s]|^)(quic_)(active_connection_id_limit|bpf|gso|host_key|retry)([\"'\\s]|$)",
1690
1718
  "beginCaptures": {
1691
1719
  "1": {
1692
1720
  "name": "keyword.directive.nginx"
@@ -1853,6 +1881,34 @@
1853
1881
  }
1854
1882
  ]
1855
1883
  },
1884
+ {
1885
+ "begin": "([\"'\\s]|^)(mqtt_)(preread|buffers|rewrite_buffer_size|set_connect)([\"'\\s]|$)",
1886
+ "beginCaptures": {
1887
+ "1": {
1888
+ "name": "keyword.directive.nginx"
1889
+ },
1890
+ "2": {
1891
+ "name": "keyword.directive.nginx"
1892
+ },
1893
+ "3": {
1894
+ "name": "keyword.directive.nginx"
1895
+ },
1896
+ "4": {
1897
+ "name": "keyword.directive.nginx"
1898
+ }
1899
+ },
1900
+ "end": ";",
1901
+ "endCaptures": {
1902
+ "0": {
1903
+ "name": "punctuation.terminator.nginx"
1904
+ }
1905
+ },
1906
+ "patterns": [
1907
+ {
1908
+ "include": "#values"
1909
+ }
1910
+ ]
1911
+ },
1856
1912
  {
1857
1913
  "begin": "([\"'\\s]|^)(zone_)(sync_buffers|sync_connect_retry_interval|sync_connect_timeout|sync_interval|sync_recv_buffer_size|sync_server|sync_ssl|sync_ssl_certificate|sync_ssl_certificate_key|sync_ssl_ciphers|sync_ssl_conf_command|sync_ssl_crl|sync_ssl_name|sync_ssl_password_file|sync_ssl_protocols|sync_ssl_server_name|sync_ssl_trusted_certificate|sync_ssl_verify|sync_ssl_verify_depth|sync_timeout)([\"'\\s]|$)",
1858
1914
  "beginCaptures": {
@@ -1882,7 +1938,35 @@
1882
1938
  ]
1883
1939
  },
1884
1940
  {
1885
- "begin": "([\"'\\s]|^)(js_)(body_filter|content|fetch_ciphers|fetch_protocols|fetch_trusted_certificate|fetch_verify_depth|header_filter|import|include|path|set|var|access|filter|preread)([\"'\\s]|$)",
1941
+ "begin": "([\"'\\s]|^)(otel_)(exporter|service_name|trace|trace_context|span_name|span_attr)([\"'\\s]|$)",
1942
+ "beginCaptures": {
1943
+ "1": {
1944
+ "name": "keyword.directive.nginx"
1945
+ },
1946
+ "2": {
1947
+ "name": "keyword.directive.nginx"
1948
+ },
1949
+ "3": {
1950
+ "name": "keyword.directive.nginx"
1951
+ },
1952
+ "4": {
1953
+ "name": "keyword.directive.nginx"
1954
+ }
1955
+ },
1956
+ "end": ";",
1957
+ "endCaptures": {
1958
+ "0": {
1959
+ "name": "punctuation.terminator.nginx"
1960
+ }
1961
+ },
1962
+ "patterns": [
1963
+ {
1964
+ "include": "#values"
1965
+ }
1966
+ ]
1967
+ },
1968
+ {
1969
+ "begin": "([\"'\\s]|^)(js_)(body_filter|content|fetch_buffer_size|fetch_ciphers|fetch_max_response_buffer_size|fetch_protocols|fetch_timeout|fetch_trusted_certificate|fetch_verify|fetch_verify_depth|header_filter|import|include|path|periodic|preload_object|set|shared_dict_zone|var|access|filter|preread)([\"'\\s]|$)",
1886
1970
  "beginCaptures": {
1887
1971
  "1": {
1888
1972
  "name": "keyword.directive.nginx"
@@ -1910,7 +1994,7 @@
1910
1994
  ]
1911
1995
  },
1912
1996
  {
1913
- "begin": "([\"'\\s]|^)(daemon|env|include|pid|use|user|aio|alias|directio|etag|listen|resolver|root|satisfy|sendfile|allow|deny|api|autoindex|charset|geo|gunzip|gzip|expires|index|keyval|mirror|perl|set|slice|ssi|ssl|zone|state|hash|keepalive|queue|random|sticky|match|userid|protocol|timeout|xclient|starttls|load_module|lock_file|master_process|multi_accept|pcre_jit|thread_pool|timer_resolution|working_directory|absolute_redirect|aio_write|chunked_transfer_encoding|connection_pool_size|default_type|directio_alignment|disable_symlinks|if_modified_since|ignore_invalid_headers|large_client_header_buffers|merge_slashes|output_buffers|port_in_redirect|postpone_output|read_ahead|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver_timeout|sendfile_max_chunk|subrequest_output_buffer_size|try_files|underscores_in_headers|addition_types|override_charset|source_charset|create_full_put_path|min_delete_depth|f4f_buffer_size|gunzip_buffers|keyval_zone|access_log|mirror_request_body|random_index|set_real_ip_from|valid_referers|rewrite_log|uninitialized_variable_warn|split_clients|least_time|sticky_cookie_insert|xml_entities|google_perftools_profiles)([\"'\\s]|$)",
1997
+ "begin": "([\"'\\s]|^)(daemon|env|include|pid|use|user|aio|alias|directio|etag|listen|resolver|root|satisfy|sendfile|allow|deny|api|autoindex|charset|geo|gunzip|gzip|expires|index|keyval|mirror|perl|set|slice|ssi|ssl|zone|state|hash|keepalive|queue|random|sticky|match|userid|http2|http3|protocol|timeout|xclient|starttls|mqtt|load_module|lock_file|master_process|multi_accept|pcre_jit|thread_pool|timer_resolution|working_directory|absolute_redirect|aio_write|chunked_transfer_encoding|connection_pool_size|default_type|directio_alignment|disable_symlinks|if_modified_since|ignore_invalid_headers|large_client_header_buffers|merge_slashes|output_buffers|port_in_redirect|postpone_output|read_ahead|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver_timeout|sendfile_max_chunk|subrequest_output_buffer_size|try_files|underscores_in_headers|addition_types|override_charset|source_charset|create_full_put_path|min_delete_depth|f4f_buffer_size|gunzip_buffers|internal_redirect|keyval_zone|access_log|mirror_request_body|random_index|set_real_ip_from|valid_referers|rewrite_log|uninitialized_variable_warn|split_clients|least_time|sticky_cookie_insert|xml_entities|google_perftools_profiles)([\"'\\s]|$)",
1914
1998
  "beginCaptures": {
1915
1999
  "1": {
1916
2000
  "name": "keyword.directive.nginx"
@@ -2046,7 +2130,7 @@
2046
2130
  "name": "constant.numeric.nginx"
2047
2131
  }
2048
2132
  },
2049
- "match": "(?:^|\\s)(weight|max_conn|max_fails|fail_timeout|slow_start)(=)([0-9][0-9\\.]*[bBkKmMgGtTsShHdD]?)(?:\\s|;|$)"
2133
+ "match": "(?:^|\\s)(weight|max_conn|max_fails|fail_timeout|slow_start)(=)(\\d[\\d\\.]*[bBkKmMgGtTsShHdD]?)(?:\\s|;|$)"
2050
2134
  },
2051
2135
  {
2052
2136
  "include": "#values"
@@ -2068,14 +2152,14 @@
2068
2152
  "name": "constant.numeric.nginx"
2069
2153
  }
2070
2154
  },
2071
- "match": "[\\t ](=?[0-9][0-9\\.]*[bBkKmMgGtTsShHdD]?)(?=[\\t ;])"
2155
+ "match": "(?<=\\G|\\s)(=?[0-9][0-9\\.]*[bBkKmMgGtTsShHdD]?)(?=[\\t ;])"
2072
2156
  },
2073
2157
  {
2074
- "match": "[\\t ](on|off|true|false)(?=[\\t ;])",
2158
+ "match": "(?<=\\G|\\s)(on|off|true|false)(?=[\\t ;])",
2075
2159
  "name": "constant.language.nginx"
2076
2160
  },
2077
2161
  {
2078
- "match": "[\\t ](kqueue|rtsig|epoll|\\/dev\\/poll|select|poll|eventport|max|all|default_server|default|main|crit|error|debug|warn|notice|last)(?=[\\t ;])",
2162
+ "match": "(?<=\\G|\\s)(kqueue|rtsig|epoll|\\/dev\\/poll|select|poll|eventport|max|all|default_server|default|main|crit|error|debug|warn|notice|last)(?=[\\t ;])",
2079
2163
  "name": "constant.language.nginx"
2080
2164
  },
2081
2165
  {
package/index.js CHANGED
@@ -1714,7 +1714,7 @@ export const grammars = [
1714
1714
  source: 'https://github.com/nextflow-io/vscode-language-nextflow/blob/7eeb9be8d01556b7c51c59307275c2f720f2ddf4/syntaxes/nextflow.tmLanguage.json',
1715
1715
  },
1716
1716
  {
1717
- byteSize: 33617,
1717
+ byteSize: 34956,
1718
1718
  categories: [
1719
1719
  'config',
1720
1720
  ],
@@ -1722,13 +1722,13 @@ export const grammars = [
1722
1722
  embedded: [
1723
1723
  'lua',
1724
1724
  ],
1725
- lastUpdate: '2021-11-18T16:10:10Z',
1725
+ lastUpdate: '2024-02-28T17:19:46Z',
1726
1726
  license: 'GPL-3.0',
1727
1727
  licenseUrl: 'https://raw.githubusercontent.com/hangxingliu/vscode-nginx-conf-hint/main/LICENSE',
1728
1728
  name: 'nginx',
1729
1729
  scopeName: 'source.nginx',
1730
- sha: '0582d5b71a31ff893b3587996b233f22239fba57',
1731
- source: 'https://github.com/hangxingliu/vscode-nginx-conf-hint/blob/0582d5b71a31ff893b3587996b233f22239fba57/src/syntax/nginx.tmLanguage',
1730
+ sha: '49159c02fd09dce264ded7802c9499a0f09646f5',
1731
+ source: 'https://github.com/hangxingliu/vscode-nginx-conf-hint/blob/49159c02fd09dce264ded7802c9499a0f09646f5/src/syntax/nginx.tmLanguage',
1732
1732
  },
1733
1733
  {
1734
1734
  byteSize: 22343,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.4.6",
4
+ "version": "1.4.7",
5
5
  "packageManager": "pnpm@8.15.1",
6
6
  "description": "Collecton of TextMate grammars in JSON",
7
7
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",