Compare commits

...

5 Commits

Author SHA1 Message Date
Peter Tripp
4708951322 zed 0.146.1 2024-07-26 11:35:36 -04:00
Peter Tripp
054e083a78 Restore linux ctrl-d functionality (#15238)
- Restore `ctrl-d` functionality accidentally removed
- Remove duplicate `ctrl-d` keymap in `Editor` context (dead)
2024-07-26 11:34:50 -04:00
gcp-cherry-pick-bot[bot]
66a41c9a95 Pin a specific version of typos in CI (cherry-pick #15128) (#15252)
Cherry-picked Pin a specific version of `typos` in CI (#15128)

This PR makes it so we pin a specific version of `typos` in CI, rather
than just relying on whatever is already installed or what the latest
version is.

Release Notes:

- N/A

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2024-07-25 23:15:29 -04:00
Joseph T Lyons
3a8acc94e2 Fix contributor-scraping code 2024-07-24 12:34:58 -04:00
Joseph T Lyons
2291137fb7 v0.146.x preview 2024-07-24 12:08:15 -04:00
6 changed files with 12 additions and 7 deletions

View File

@@ -40,10 +40,15 @@ jobs:
- name: Check spelling
run: |
if ! which typos > /dev/null; then
cargo install typos-cli
if ! cargo install --list | grep "typos-cli v$TYPOS_CLI_VERSION" > /dev/null; then
echo "Installing typos-cli@$TYPOS_CLI_VERSION..."
cargo install "typos-cli@$TYPOS_CLI_VERSION"
else
echo "typos-cli@$TYPOS_CLI_VERSION is already installed."
fi
typos
env:
TYPOS_CLI_VERSION: "1.23.3"
- name: Run style checks
uses: ./.github/actions/check_style

2
Cargo.lock generated
View File

@@ -13596,7 +13596,7 @@ dependencies = [
[[package]]
name = "zed"
version = "0.146.0"
version = "0.146.1"
dependencies = [
"activity_indicator",
"anyhow",

View File

@@ -40,7 +40,6 @@
"backspace": "editor::Backspace",
"shift-backspace": "editor::Backspace",
"delete": "editor::Delete",
"ctrl-d": "editor::Delete",
"tab": "editor::Tab",
"shift-tab": "editor::TabPrev",
"ctrl-k": "editor::CutToEndOfLine",
@@ -274,6 +273,7 @@
"alt-shift-left": "editor::SelectSmallerSyntaxNode", // Shrink Selection
"ctrl-shift-l": "editor::SelectAllMatches", // Select all occurrences of current selection
"ctrl-f2": "editor::SelectAllMatches", // Select all occurrences of current word
"ctrl-d": ["editor::SelectNext", { "replace_newest": false }],
"ctrl-shift-down": ["editor::SelectNext", { "replace_newest": false }], // Add selection to Next Find Match
"ctrl-shift-up": ["editor::SelectPrevious", { "replace_newest": false }],
"ctrl-k ctrl-d": ["editor::SelectNext", { "replace_newest": true }],

View File

@@ -2,7 +2,7 @@
description = "The fast, collaborative code editor."
edition = "2021"
name = "zed"
version = "0.146.0"
version = "0.146.1"
publish = false
license = "GPL-3.0-or-later"
authors = ["Zed Team <hi@zed.dev>"]

View File

@@ -1 +1 @@
dev
preview

View File

@@ -59,7 +59,7 @@ async function main() {
const releaseNotesHeader = /^\s*Release Notes:(.+)/ims;
let releaseNotes = pullRequest.body || "";
let contributor = pullRequest.user.login || "";
let contributor = pullRequest.user?.login ?? "Unable to identify";
const captures = releaseNotesHeader.exec(releaseNotes);
const notes = captures ? captures[1] : "MISSING";
const skippableNoteRegex = /^\s*-?\s*n\/?a\s*/ims;