From e04fbd199222645388c5a978938f3c23ef7f7a22 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Wed, 17 Mar 2021 21:07:18 +0100 Subject: [PATCH 01/10] Include LESS in --diagnostic So issues like #1586 are easier to troubleshoot. --- src/bin/bat/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/bat/main.rs b/src/bin/bat/main.rs index eb047809..dadcc673 100644 --- a/src/bin/bat/main.rs +++ b/src/bin/bat/main.rs @@ -238,6 +238,7 @@ fn run() -> Result { .info(EnvironmentVariables::list(&[ "SHELL", "PAGER", + "LESS", "BAT_PAGER", "BAT_CACHE_PATH", "BAT_CONFIG_PATH", From 4384d25c79d1a2d089df0a1de60b264469415eea Mon Sep 17 00:00:00 2001 From: msnspk <39572231+msnspk@users.noreply.github.com> Date: Thu, 18 Mar 2021 12:14:13 -0500 Subject: [PATCH 02/10] Change TheClams/SystemVerilog submodule to use HTTPS Using SSH to fetch the submodule was causing build failures for me, and as mentioned in #1581, this should be changed to HTTPS --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 09231226..4b6bc34e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -218,4 +218,4 @@ url = https://github.com/hesstobi/sublime_gnuplot [submodule "assets/syntaxes/02_Extra/SystemVerilog"] path = assets/syntaxes/02_Extra/SystemVerilog - url = git@github.com:TheClams/SystemVerilog.git + url = https://github.com/TheClams/SystemVerilog.git From aa09a9dc04b2aec5572b2d389b1800f48b30bd8b Mon Sep 17 00:00:00 2001 From: Ethan P Date: Tue, 6 Apr 2021 15:33:34 -0700 Subject: [PATCH 03/10] Update changelog for #1589 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b02eb41..e438d94f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ## Other - `Input::ordinary_file` and `Input::with_name` now accept `Path` rather than `OsStr` see #1571 (@matklad) +- The `LESS` environment variable is now included in `bat --diagnostic`, see #1589 (@Enselic) - Increased min. required Rust version to 1.45 ## Syntaxes From 3559079de0081987741a1d6fb2ea9ee4b1a42e56 Mon Sep 17 00:00:00 2001 From: Keith Hall Date: Sun, 28 Mar 2021 22:35:01 +0300 Subject: [PATCH 04/10] Improvements to CSV highlighting --- .gitmodules | 3 - CHANGELOG.md | 2 + assets/patches/Monokai-Extended.tmTheme.patch | 2 +- assets/syntaxes/02_Extra/CSV | 1 - assets/syntaxes/02_Extra/CSV.sublime-syntax | 116 ++++++++++++------ assets/syntaxes/02_Extra/syntax_test_csv.csv | 58 +++++++++ assets/syntaxes/02_Extra/syntax_test_tsv.tsv | 58 +++++++++ .../highlighted/CSV/comma_in_quotes.csv | 14 +-- 8 files changed, 203 insertions(+), 51 deletions(-) delete mode 160000 assets/syntaxes/02_Extra/CSV create mode 100644 assets/syntaxes/02_Extra/syntax_test_csv.csv create mode 100644 assets/syntaxes/02_Extra/syntax_test_tsv.tsv diff --git a/.gitmodules b/.gitmodules index 4b6bc34e..12beb70c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -61,9 +61,6 @@ [submodule "assets/syntaxes/Puppet"] path = assets/syntaxes/02_Extra/Puppet url = https://github.com/russCloak/SublimePuppet -[submodule "assets/syntaxes/CSV"] - path = assets/syntaxes/02_Extra/CSV - url = https://github.com/wadetb/Sublime-Text-Advanced-CSV [submodule "assets/themes/onehalf"] path = assets/themes/onehalf url = https://github.com/sonph/onehalf diff --git a/CHANGELOG.md b/CHANGELOG.md index e438d94f..d3341148 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ ## Syntaxes +- Replaced "Advanced CSV" with a custom CSV syntax definition written especially for `bat`; see #1574 (@keith-hall) + ## New themes ## `bat` as a library diff --git a/assets/patches/Monokai-Extended.tmTheme.patch b/assets/patches/Monokai-Extended.tmTheme.patch index 24573a7b..16624d5f 100644 --- a/assets/patches/Monokai-Extended.tmTheme.patch +++ b/assets/patches/Monokai-Extended.tmTheme.patch @@ -7,7 +7,7 @@ index 9c2aa3e..180cbbf 100644 JSON String scope - meta.structure.dictionary.json string.quoted.double.json -+ meta.mapping.key.json string.quoted.double.json ++ meta.mapping.key.json string.quoted.double.json, punctuation.separator.sequence.csv settings foreground diff --git a/assets/syntaxes/02_Extra/CSV b/assets/syntaxes/02_Extra/CSV deleted file mode 160000 index 4786d037..00000000 --- a/assets/syntaxes/02_Extra/CSV +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4786d037a761bc45e516f6b0624a839919ec6d05 diff --git a/assets/syntaxes/02_Extra/CSV.sublime-syntax b/assets/syntaxes/02_Extra/CSV.sublime-syntax index 1bbc5b97..10e5c7cc 100644 --- a/assets/syntaxes/02_Extra/CSV.sublime-syntax +++ b/assets/syntaxes/02_Extra/CSV.sublime-syntax @@ -1,46 +1,84 @@ %YAML 1.2 --- -# http://www.sublimetext.com/docs/3/syntax.html -name: Advanced CSV +# See http://www.sublimetext.com/docs/3/syntax.html +name: Comma Separated Values file_extensions: - csv - tsv -scope: text.advanced_csv +scope: text.csv +variables: + field_separator: (?:[,;\t]) + record_separator: (?:$\n?) contexts: + prototype: + - match: (?={{record_separator}}) + pop: true + fields: + - match: '' + push: + - field_or_record_separator + - field5 + - field_or_record_separator + - field4 + - field_or_record_separator + - field3 + - field_or_record_separator + - field2 + - field_or_record_separator + - field1 main: - - match: (\") - captures: - 1: string.quoted.double.advanced_csv - push: - - meta_scope: meta.quoted.advanced_csv - - match: (\") - captures: - 1: string.quoted.double.advanced_csv - pop: true - - include: main - - match: '(\[([+-]?\d*)(\:)?([+-]?\d*)(\,)?([+-]?\d*)(\:)?([+-]?\d*)\])?\s*([<>v^])?\s*(=)' - captures: - 1: keyword.operator.advanced_csv - 2: constant.numeric.formula.advanced_csv - 4: constant.numeric.formula.advanced_csv - 6: constant.numeric.formula.advanced_csv - 8: constant.numeric.formula.advanced_csv - 9: keyword.operator.advanced_csv - 10: keyword.operator.advanced_csv - push: - - meta_scope: meta.range.advanced_csv - - match: (?=(\")|$) - pop: true - - include: scope:source.python - - match: '(?<=^|,|\s|\")([0-9.eE+-]+)(?=$|,|\s|\")' - scope: meta.number.advanced_csv - captures: - 1: constant.numeric.advanced_csv - - match: '(?<=^|,|\s|\")([^, \t\"]+)(?=$|,|\s|\")' - scope: meta.nonnumber.advanced_csv - captures: - 1: storage.type.advanced_csv - - match: (\,) - scope: meta.delimiter.advanced_csv - captures: - 1: keyword.operator.advanced_csv + - meta_include_prototype: false + - match: '^' + set: fields + + field_or_record_separator: + - meta_include_prototype: false + - match: '{{record_separator}}' + scope: punctuation.terminator.record.csv + pop: true + - match: '{{field_separator}}' + scope: punctuation.separator.sequence.csv + pop: true + + field_contents: + - match: '"' + scope: punctuation.definition.string.begin.csv + push: double_quoted_string + + - match: (?={{field_separator}}|{{record_separator}}) + pop: true + + double_quoted_string: + - meta_include_prototype: false + - meta_scope: string.quoted.double.csv + - match: '""' + scope: constant.character.escape.csv + - match: '"' + scope: punctuation.definition.string.end.csv + pop: true + + field1: + - match: '' + set: + - meta_content_scope: meta.field-1.csv support.type + - include: field_contents + field2: + - match: '' + set: + - meta_content_scope: meta.field-2.csv support.function + - include: field_contents + field3: + - match: '' + set: + - meta_content_scope: meta.field-3.csv variable.other + - include: field_contents + field4: + - match: '' + set: + - meta_content_scope: meta.field-4.csv constant.numeric + - include: field_contents + field5: + - match: '' + set: + - meta_content_scope: meta.field-5.csv keyword.operator + - include: field_contents diff --git a/assets/syntaxes/02_Extra/syntax_test_csv.csv b/assets/syntaxes/02_Extra/syntax_test_csv.csv new file mode 100644 index 00000000..1d7ae9f9 --- /dev/null +++ b/assets/syntaxes/02_Extra/syntax_test_csv.csv @@ -0,0 +1,58 @@ +# SYNTAX TEST "CSV.sublime-syntax" +Forename,Surname,House No.,Street,City,Postcode +#^^^^^^^ meta.field-1 +# ^ punctuation.separator.sequence +# ^^^^^^^ meta.field-2 +# ^ punctuation.separator.sequence +# ^^^^^^^^^ meta.field-3 +# ^ punctuation.separator.sequence +# ^^^^^^ meta.field-4 +# ^ punctuation.separator.sequence +# ^^^^ meta.field-5 +# ^ punctuation.separator.sequence +# ^^^^^^^^ meta.field-1 +John,Doe,87,Citiville,TU43 6GH +#^^^ meta.field-1 +# ^ punctuation.separator.sequence +# ^^^ meta.field-2 +# ^ punctuation.separator.sequence +# ^^ meta.field-3 +# ^ punctuation.separator.sequence +# ^^^^^^^^^ meta.field-4 +# ^ punctuation.separator.sequence +# ^^^^^^^^ meta.field-5 +Jane,Doe,22,"""Fun"" Street","The City, County",FA90 1XA +#^^^ meta.field-1 +# ^ punctuation.separator.sequence +# ^^^ meta.field-2 +# ^ punctuation.separator.sequence +# ^^ meta.field-3 +# ^ punctuation.separator.sequence +# ^^^^^^^^^^^^^^^^ meta.field-4 string.quoted.double +# ^^ constant.character.escape +# ^^ constant.character.escape +# ^ punctuation.separator.sequence +# ^ meta.field-5 string.quoted.double punctuation.definition.string.begin +# ^^^^^^^^^^^^^^^^^ meta.field-5 string.quoted.double +# ^ meta.field-5 string.quoted.double punctuation.definition.string.end +# ^ punctuation.separator.sequence +# ^^^^^^^^ meta.field-1 +Fred,Bloggs,"19","Street +#^^^ meta.field-1 +# ^ punctuation.separator.sequence +# ^^^^^^ meta.field-2 +# ^ punctuation.separator.sequence +# ^^^ meta.field-3 string.quoted.double +# ^ punctuation.separator.sequence +# ^ meta.field-4 punctuation.definition.string.begin +# ^^^^^^^^ meta.field-4 string.quoted.double +Spanning Multiple "" +#^^^^^^^^^^^^^^^^^^^^ meta.field-4 string.quoted.double +# ^^ constant.character.escape +Lines",Citee,P0stc0d3 +#^^^^^ meta.field-4 string.quoted.double +# ^ meta.field-4 punctuation.definition.string.end +# ^ punctuation.separator.sequence +# ^^^^^ meta.field-5 +# ^ punctuation.separator.sequence +# ^^^^^^^^ meta.field-1 diff --git a/assets/syntaxes/02_Extra/syntax_test_tsv.tsv b/assets/syntaxes/02_Extra/syntax_test_tsv.tsv new file mode 100644 index 00000000..6d005214 --- /dev/null +++ b/assets/syntaxes/02_Extra/syntax_test_tsv.tsv @@ -0,0 +1,58 @@ +# SYNTAX TEST "CSV.sublime-syntax" +Forename Surname House No. Street City Postcode +#^^^^^^^ meta.field-1 +# ^ punctuation.separator.sequence +# ^^^^^^^ meta.field-2 +# ^ punctuation.separator.sequence +# ^^^^^^^^^ meta.field-3 +# ^ punctuation.separator.sequence +# ^^^^^^ meta.field-4 +# ^ punctuation.separator.sequence +# ^^^^ meta.field-5 +# ^ punctuation.separator.sequence +# ^^^^^^^^ meta.field-1 +John Doe 87 Citiville TU43 6GH +#^^^ meta.field-1 +# ^ punctuation.separator.sequence +# ^^^ meta.field-2 +# ^ punctuation.separator.sequence +# ^^ meta.field-3 +# ^ punctuation.separator.sequence +# ^^^^^^^^^ meta.field-4 +# ^ punctuation.separator.sequence +# ^^^^^^^^ meta.field-5 +Jane Doe 22 """Fun"" Street" "The City County" FA90 1XA +#^^^ meta.field-1 +# ^ punctuation.separator.sequence +# ^^^ meta.field-2 +# ^ punctuation.separator.sequence +# ^^ meta.field-3 +# ^ punctuation.separator.sequence +# ^^^^^^^^^^^^^^^^ meta.field-4 string.quoted.double +# ^^ constant.character.escape +# ^^ constant.character.escape +# ^ punctuation.separator.sequence +# ^ meta.field-5 string.quoted.double punctuation.definition.string.begin +# ^^^^^^^^^^^^^^^^^ meta.field-5 string.quoted.double +# ^ meta.field-5 string.quoted.double punctuation.definition.string.end +# ^ punctuation.separator.sequence +# ^^^^^^^^ meta.field-1 +Fred Bloggs "19" "Street +#^^^ meta.field-1 +# ^ punctuation.separator.sequence +# ^^^^^^ meta.field-2 +# ^ punctuation.separator.sequence +# ^^^ meta.field-3 string.quoted.double +# ^ punctuation.separator.sequence +# ^ meta.field-4 punctuation.definition.string.begin +# ^^^^^^^^ meta.field-4 string.quoted.double +Spanning Multiple "" +#^^^^^^^^^^^^^^^^^^^^ meta.field-4 string.quoted.double +# ^^ constant.character.escape +Lines" Citee P0stc0d3 +#^^^^^ meta.field-4 string.quoted.double +# ^ meta.field-4 punctuation.definition.string.end +# ^ punctuation.separator.sequence +# ^^^^^ meta.field-5 +# ^ punctuation.separator.sequence +# ^^^^^^^^ meta.field-1 diff --git a/tests/syntax-tests/highlighted/CSV/comma_in_quotes.csv b/tests/syntax-tests/highlighted/CSV/comma_in_quotes.csv index 2ad5b914..c4015719 100644 --- a/tests/syntax-tests/highlighted/CSV/comma_in_quotes.csv +++ b/tests/syntax-tests/highlighted/CSV/comma_in_quotes.csv @@ -1,7 +1,7 @@ -first,last,address,city,zip -John,Doe,120 any st.,"Anytown, WW",08123 -a,b -1,"ha  -""ha""  -ha",120 any st.,"Anytown, WW",08123 -3,4,120 any st.,"Anytown, WW",08123 +first,last,address,city,zip +John,Doe,120 any st.,"Anytown, WW",08123 +a,b +1,"ha  +""ha""  +ha",120 any st.,"Anytown, WW",08123 +3,4,120 any st.,"Anytown, WW",08123 From 848ceb6f10b6d5f9fcfca5b3530220a5b2403f84 Mon Sep 17 00:00:00 2001 From: Keith Hall Date: Thu, 1 Apr 2021 22:55:53 +0300 Subject: [PATCH 05/10] Remove variable.other from CSV highlighting --- assets/syntaxes/02_Extra/CSV.sublime-syntax | 12 +++------ assets/syntaxes/02_Extra/syntax_test_csv.csv | 26 ++++++++++--------- assets/syntaxes/02_Extra/syntax_test_tsv.tsv | 26 ++++++++++--------- .../highlighted/CSV/comma_in_quotes.csv | 8 +++--- 4 files changed, 35 insertions(+), 37 deletions(-) diff --git a/assets/syntaxes/02_Extra/CSV.sublime-syntax b/assets/syntaxes/02_Extra/CSV.sublime-syntax index 10e5c7cc..cca7cd2c 100644 --- a/assets/syntaxes/02_Extra/CSV.sublime-syntax +++ b/assets/syntaxes/02_Extra/CSV.sublime-syntax @@ -16,8 +16,6 @@ contexts: fields: - match: '' push: - - field_or_record_separator - - field5 - field_or_record_separator - field4 - field_or_record_separator @@ -70,15 +68,11 @@ contexts: field3: - match: '' set: - - meta_content_scope: meta.field-3.csv variable.other + - meta_content_scope: meta.field-3.csv constant.numeric - include: field_contents field4: - match: '' set: - - meta_content_scope: meta.field-4.csv constant.numeric - - include: field_contents - field5: - - match: '' - set: - - meta_content_scope: meta.field-5.csv keyword.operator + - meta_content_scope: meta.field-4.csv keyword.operator - include: field_contents + diff --git a/assets/syntaxes/02_Extra/syntax_test_csv.csv b/assets/syntaxes/02_Extra/syntax_test_csv.csv index 1d7ae9f9..c997b2bd 100644 --- a/assets/syntaxes/02_Extra/syntax_test_csv.csv +++ b/assets/syntaxes/02_Extra/syntax_test_csv.csv @@ -8,19 +8,21 @@ Forename,Surname,House No.,Street,City,Postcode # ^ punctuation.separator.sequence # ^^^^^^ meta.field-4 # ^ punctuation.separator.sequence -# ^^^^ meta.field-5 +# ^^^^ meta.field-1 # ^ punctuation.separator.sequence -# ^^^^^^^^ meta.field-1 -John,Doe,87,Citiville,TU43 6GH +# ^^^^^^^^ meta.field-2 +John,Doe,87,Logon Road,Citiville,TU43 6GH #^^^ meta.field-1 # ^ punctuation.separator.sequence # ^^^ meta.field-2 # ^ punctuation.separator.sequence # ^^ meta.field-3 # ^ punctuation.separator.sequence -# ^^^^^^^^^ meta.field-4 -# ^ punctuation.separator.sequence -# ^^^^^^^^ meta.field-5 +# ^^^^^^^^^^ meta.field-4 +# ^ punctuation.separator.sequence +# ^^^^^^^^^ meta.field-1 +# ^ punctuation.separator.sequence +# ^^^^^^^^ meta.field-2 Jane,Doe,22,"""Fun"" Street","The City, County",FA90 1XA #^^^ meta.field-1 # ^ punctuation.separator.sequence @@ -32,11 +34,11 @@ Jane,Doe,22,"""Fun"" Street","The City, County",FA90 1XA # ^^ constant.character.escape # ^^ constant.character.escape # ^ punctuation.separator.sequence -# ^ meta.field-5 string.quoted.double punctuation.definition.string.begin -# ^^^^^^^^^^^^^^^^^ meta.field-5 string.quoted.double -# ^ meta.field-5 string.quoted.double punctuation.definition.string.end +# ^ meta.field-1 string.quoted.double punctuation.definition.string.begin +# ^^^^^^^^^^^^^^^^^ meta.field-1 string.quoted.double +# ^ meta.field-1 string.quoted.double punctuation.definition.string.end # ^ punctuation.separator.sequence -# ^^^^^^^^ meta.field-1 +# ^^^^^^^^ meta.field-2 Fred,Bloggs,"19","Street #^^^ meta.field-1 # ^ punctuation.separator.sequence @@ -53,6 +55,6 @@ Lines",Citee,P0stc0d3 #^^^^^ meta.field-4 string.quoted.double # ^ meta.field-4 punctuation.definition.string.end # ^ punctuation.separator.sequence -# ^^^^^ meta.field-5 +# ^^^^^ meta.field-1 # ^ punctuation.separator.sequence -# ^^^^^^^^ meta.field-1 +# ^^^^^^^^ meta.field-2 diff --git a/assets/syntaxes/02_Extra/syntax_test_tsv.tsv b/assets/syntaxes/02_Extra/syntax_test_tsv.tsv index 6d005214..8c2645b8 100644 --- a/assets/syntaxes/02_Extra/syntax_test_tsv.tsv +++ b/assets/syntaxes/02_Extra/syntax_test_tsv.tsv @@ -8,19 +8,21 @@ Forename Surname House No. Street City Postcode # ^ punctuation.separator.sequence # ^^^^^^ meta.field-4 # ^ punctuation.separator.sequence -# ^^^^ meta.field-5 +# ^^^^ meta.field-1 # ^ punctuation.separator.sequence -# ^^^^^^^^ meta.field-1 -John Doe 87 Citiville TU43 6GH +# ^^^^^^^^ meta.field-2 +John Doe 87 Logon Road Citiville TU43 6GH #^^^ meta.field-1 # ^ punctuation.separator.sequence # ^^^ meta.field-2 # ^ punctuation.separator.sequence # ^^ meta.field-3 # ^ punctuation.separator.sequence -# ^^^^^^^^^ meta.field-4 -# ^ punctuation.separator.sequence -# ^^^^^^^^ meta.field-5 +# ^^^^^^^^^^ meta.field-4 +# ^ punctuation.separator.sequence +# ^^^^^^^^^ meta.field-1 +# ^ punctuation.separator.sequence +# ^^^^^^^^ meta.field-2 Jane Doe 22 """Fun"" Street" "The City County" FA90 1XA #^^^ meta.field-1 # ^ punctuation.separator.sequence @@ -32,11 +34,11 @@ Jane Doe 22 """Fun"" Street" "The City County" FA90 1XA # ^^ constant.character.escape # ^^ constant.character.escape # ^ punctuation.separator.sequence -# ^ meta.field-5 string.quoted.double punctuation.definition.string.begin -# ^^^^^^^^^^^^^^^^^ meta.field-5 string.quoted.double -# ^ meta.field-5 string.quoted.double punctuation.definition.string.end +# ^ meta.field-1 string.quoted.double punctuation.definition.string.begin +# ^^^^^^^^^^^^^^^^^ meta.field-1 string.quoted.double +# ^ meta.field-1 string.quoted.double punctuation.definition.string.end # ^ punctuation.separator.sequence -# ^^^^^^^^ meta.field-1 +# ^^^^^^^^ meta.field-2 Fred Bloggs "19" "Street #^^^ meta.field-1 # ^ punctuation.separator.sequence @@ -53,6 +55,6 @@ Lines" Citee P0stc0d3 #^^^^^ meta.field-4 string.quoted.double # ^ meta.field-4 punctuation.definition.string.end # ^ punctuation.separator.sequence -# ^^^^^ meta.field-5 +# ^^^^^ meta.field-1 # ^ punctuation.separator.sequence -# ^^^^^^^^ meta.field-1 +# ^^^^^^^^ meta.field-2 diff --git a/tests/syntax-tests/highlighted/CSV/comma_in_quotes.csv b/tests/syntax-tests/highlighted/CSV/comma_in_quotes.csv index c4015719..9bd0da1a 100644 --- a/tests/syntax-tests/highlighted/CSV/comma_in_quotes.csv +++ b/tests/syntax-tests/highlighted/CSV/comma_in_quotes.csv @@ -1,7 +1,7 @@ -first,last,address,city,zip -John,Doe,120 any st.,"Anytown, WW",08123 +first,last,address,city,zip +John,Doe,120 any st.,"Anytown, WW",08123 a,b 1,"ha  ""ha""  -ha",120 any st.,"Anytown, WW",08123 -3,4,120 any st.,"Anytown, WW",08123 +ha",120 any st.,"Anytown, WW",08123 +3,4,120 any st.,"Anytown, WW",08123 From 8321cc661c94a2796c5033b6c368314f6853d04b Mon Sep 17 00:00:00 2001 From: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com> Date: Wed, 12 May 2021 07:20:12 +0200 Subject: [PATCH 06/10] CI: check docs (#1612) --- .github/workflows/CICD.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 2116fd85..11119192 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -79,6 +79,13 @@ jobs: run: bat --list-languages - name: List of themes run: bat --list-themes + - name: Check documentation + env: + RUSTDOCFLAGS: -D warnings + uses: actions-rs/cargo@v1 + with: + command: doc + args: --no-deps --document-private-items --all-features build: name: ${{ matrix.job.os }} (${{ matrix.job.target }}) From 285b1556a97e0499a2b50679ac6c359942c3e6e7 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 29 Apr 2021 15:04:46 +0000 Subject: [PATCH 07/10] Upgrade to GitHub-native Dependabot --- .github/dependabot.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..b4987cae --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,18 @@ +version: 2 +updates: +- package-ecosystem: cargo + directory: "/" + schedule: + interval: monthly + time: "04:00" + timezone: Europe/Berlin + ignore: + - dependency-name: git2 + versions: + - 0.13.17 +- package-ecosystem: gitsubmodule + directory: "/" + schedule: + interval: monthly + time: "04:00" + timezone: Europe/Berlin From d405aa98d571ff72431595435e448b6dce2c3557 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 1 May 2021 02:20:27 +0000 Subject: [PATCH 08/10] Bump console from 0.14.0 to 0.14.1 Bumps [console](https://github.com/mitsuhiko/console) from 0.14.0 to 0.14.1. - [Release notes](https://github.com/mitsuhiko/console/releases) - [Changelog](https://github.com/mitsuhiko/console/blob/master/CHANGELOG.md) - [Commits](https://github.com/mitsuhiko/console/compare/0.14.0...0.14.1) Signed-off-by: dependabot-preview[bot] --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a4949d67..893f68a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -226,9 +226,9 @@ dependencies = [ [[package]] name = "console" -version = "0.14.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cc80946b3480f421c2f17ed1cb841753a371c7c5104f51d507e13f532c856aa" +checksum = "3993e6445baa160675931ec041a5e03ca84b9c6e32a056150d3aa2bdda0a1f45" dependencies = [ "encode_unicode", "lazy_static", diff --git a/Cargo.toml b/Cargo.toml index f0eb26c0..f5c3b358 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ regex-fancy = ["syntect/regex-fancy"] # Use the rust-only "fancy-regex" engine atty = { version = "0.2.14", optional = true } ansi_term = "^0.12.1" ansi_colours = "^1.0" -console = "0.14.0" +console = "0.14.1" lazy_static = { version = "1.4", optional = true } wild = { version = "2.0", optional = true } content_inspector = "0.2.4" From 613b41e3572a2932ca22800c66c3230a54cf3e5b Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 1 May 2021 02:21:05 +0000 Subject: [PATCH 09/10] Bump assets/syntaxes/02_Extra/Julia from `45a1b6f` to `cc13e7d` Bumps [assets/syntaxes/02_Extra/Julia](https://github.com/JuliaEditorSupport/Julia-sublime) from `45a1b6f` to `cc13e7d`. - [Release notes](https://github.com/JuliaEditorSupport/Julia-sublime/releases) - [Commits](https://github.com/JuliaEditorSupport/Julia-sublime/compare/45a1b6fe6cc37a2b614ae199d85c702b8711e22a...cc13e7d4ef74a6556af09d8858d2cc6a47ef5451) Signed-off-by: dependabot-preview[bot] --- assets/syntaxes/02_Extra/Julia | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/syntaxes/02_Extra/Julia b/assets/syntaxes/02_Extra/Julia index 45a1b6fe..cc13e7d4 160000 --- a/assets/syntaxes/02_Extra/Julia +++ b/assets/syntaxes/02_Extra/Julia @@ -1 +1 @@ -Subproject commit 45a1b6fe6cc37a2b614ae199d85c702b8711e22a +Subproject commit cc13e7d4ef74a6556af09d8858d2cc6a47ef5451 From b16cacc758fb60777072ff8f9b9ae8ba97e4f5ae Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 May 2021 09:18:55 +0000 Subject: [PATCH 10/10] Bump assets/syntaxes/02_Extra/SCSS_Sass from `4868322` to `63819a1` Bumps [assets/syntaxes/02_Extra/SCSS_Sass](https://github.com/braver/SublimeSass) from `4868322` to `63819a1`. - [Release notes](https://github.com/braver/SublimeSass/releases) - [Commits](https://github.com/braver/SublimeSass/compare/4868322030c3644d6b8cfff68c85849789d9bdb2...63819a1ab6b2075360933b2cfe41b416de0e3c26) Signed-off-by: dependabot[bot] --- assets/syntaxes/02_Extra/SCSS_Sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/syntaxes/02_Extra/SCSS_Sass b/assets/syntaxes/02_Extra/SCSS_Sass index 48683220..63819a1a 160000 --- a/assets/syntaxes/02_Extra/SCSS_Sass +++ b/assets/syntaxes/02_Extra/SCSS_Sass @@ -1 +1 @@ -Subproject commit 4868322030c3644d6b8cfff68c85849789d9bdb2 +Subproject commit 63819a1ab6b2075360933b2cfe41b416de0e3c26