Merge branch 'helix-editor:master' into pull-diagnostics

This commit is contained in:
SofusA 2024-11-24 12:09:12 +01:00 committed by GitHub
commit ab117aaeb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 12 additions and 12 deletions

View File

@ -17,8 +17,8 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@1.70
- name: Install MSRV toolchain
uses: dtolnay/rust-toolchain@1.76
- uses: Swatinem/rust-cache@v2
with:
@ -38,8 +38,8 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@1.70
- name: Install MSRV toolchain
uses: dtolnay/rust-toolchain@1.76
- uses: Swatinem/rust-cache@v2
with:
@ -70,8 +70,8 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@1.70
- name: Install MSRV toolchain
uses: dtolnay/rust-toolchain@1.76
with:
components: rustfmt, clippy
@ -98,8 +98,8 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@1.70
- name: Install MSRV toolchain
uses: dtolnay/rust-toolchain@1.76
- uses: Swatinem/rust-cache@v2
with:

View File

@ -51,4 +51,4 @@ categories = ["editor"]
repository = "https://github.com/helix-editor/helix"
homepage = "https://helix-editor.com"
license = "MPL-2.0"
rust-version = "1.70"
rust-version = "1.76"

View File

@ -149,7 +149,7 @@ fn path_documentation(md: &fs::Metadata, full_path: &Path, kind: &str) -> String
}
#[cfg(not(unix))]
fn path_documentation(md: &fs::Metadata, full_path: &Path, kind: &str) -> String {
fn path_documentation(_md: &fs::Metadata, full_path: &Path, kind: &str) -> String {
let full_path = fold_home_dir(canonicalize(full_path));
let full_path_name = full_path.to_string_lossy();
format!("type: `{kind}`\nfull path: `{full_path_name}`",)

View File

@ -2355,7 +2355,7 @@ source = { git = "https://github.com/sogaiu/tree-sitter-clojure", rev = "e57c569
name = "starlark"
scope = "source.starlark"
injection-regex = "(starlark|bzl|bazel)"
file-types = ["bzl", "bazel", "star", { glob = "BUILD" }, { glob = "BUILD.*" }, { glob = "Tiltfile" }, { glob = "WORKSPACE" }]
file-types = ["bzl", "bazel", "star", { glob = "BUILD" }, { glob = "BUILD.*" }, { glob = "Tiltfile" }, { glob = "WORKSPACE" }, { glob = "WORKSPACE.bzlmod" }]
comment-token = "#"
indent = { tab-width = 4, unit = " " }
grammar = "python"

View File

@ -1,3 +1,3 @@
[toolchain]
channel = "1.74.0"
channel = "1.76.0"
components = ["rustfmt", "rust-src", "clippy"]