Skip to content

Commit 2700569

Browse files
authored
Merge branch 'main' into blame-entries-layout
2 parents 3ca2a09 + 1deed24 commit 2700569

File tree

191 files changed

+9633
-6526
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+9633
-6526
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "Close Stale Issues"
2+
on:
3+
schedule:
4+
- cron: "0 11 * * 2"
5+
workflow_dispatch:
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
stale-issue-message: >
15+
Hi there! 👋
16+
17+
We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. Are you able to reproduce this issue in the latest version of Zed? If so, please let us know by commenting on this issue and we will keep it open; otherwise, we'll close it in 10 days. Feel free to open a new issue if you're seeing this message after the issue has been closed.
18+
19+
Thanks for your help!
20+
close-issue-message: "This issue was closed due to inactivity; feel free to open a new issue if you're still experiencing this problem!"
21+
# We will increase `days-before-stale` to 365 on or after Jan 24th,
22+
# 2024. This date marks one year since migrating issues from
23+
# 'community' to 'zed' repository. The migration added activity to all
24+
# issues, preventing 365 days from working until then.
25+
days-before-stale: 180
26+
days-before-close: 10
27+
any-of-issue-labels: "defect,panic / crash"
28+
operations-per-run: 1000
29+
ascending: true
30+
enable-statistics: true
31+
stale-issue-label: "stale"

Cargo.lock

Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/keymaps/vim.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@
124124
"g i": "vim::InsertAtPrevious",
125125
"g ,": "vim::ChangeListNewer",
126126
"g ;": "vim::ChangeListOlder",
127-
"g q": "editor::Rewrap",
128127
"shift-h": "vim::WindowTop",
129128
"shift-m": "vim::WindowMiddle",
130129
"shift-l": "vim::WindowBottom",
@@ -240,6 +239,8 @@
240239
"g shift-u": ["vim::PushOperator", "Uppercase"],
241240
"g ~": ["vim::PushOperator", "OppositeCase"],
242241
"\"": ["vim::PushOperator", "Register"],
242+
"g q": ["vim::PushOperator", "Rewrap"],
243+
"g w": ["vim::PushOperator", "Rewrap"],
243244
"q": "vim::ToggleRecord",
244245
"shift-q": "vim::ReplayLastRecording",
245246
"@": ["vim::PushOperator", "ReplayRegister"],
@@ -291,6 +292,8 @@
291292
"g ctrl-x": ["vim::Decrement", { "step": true }],
292293
"shift-i": "vim::InsertBefore",
293294
"shift-a": "vim::InsertAfter",
295+
"g I": "vim::VisualInsertFirstNonWhiteSpace",
296+
"g A": "vim::VisualInsertEndOfLine",
294297
"shift-j": "vim::JoinLines",
295298
"r": ["vim::PushOperator", "Replace"],
296299
"ctrl-c": ["vim::SwitchMode", "Normal"],
@@ -301,6 +304,7 @@
301304
"i": ["vim::PushOperator", { "Object": { "around": false } }],
302305
"a": ["vim::PushOperator", { "Object": { "around": true } }],
303306
"g c": "vim::ToggleComments",
307+
"g q": "vim::Rewrap",
304308
"\"": ["vim::PushOperator", "Register"],
305309
// tree-sitter related commands
306310
"[ x": "editor::SelectLargerSyntaxNode",
@@ -428,6 +432,15 @@
428432
"~": "vim::CurrentLine"
429433
}
430434
},
435+
{
436+
"context": "vim_operator == gq",
437+
"bindings": {
438+
"g q": "vim::CurrentLine",
439+
"q": "vim::CurrentLine",
440+
"g w": "vim::CurrentLine",
441+
"w": "vim::CurrentLine"
442+
}
443+
},
431444
{
432445
"context": "vim_operator == y",
433446
"bindings": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
A software developer is asking a question about their project. The source files in their project have been indexed into a database of semantic text embeddings.
2+
Your task is to generate a list of 4 diverse search queries that can be run on this embedding database, in order to retrieve a list of code snippets
3+
that are relevant to the developer's question. Redundant search queries will be heavily penalized, so only include another query if it's sufficiently
4+
distinct from previous ones.
5+
6+
Here is the question that's been asked, together with context that the developer has added manually:
7+
8+
{{{context_buffer}}}

assets/settings/default.json

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
// text editor:
1616
//
1717
// 1. "VSCode"
18-
// 2. "JetBrains"
19-
// 3. "SublimeText"
20-
// 4. "Atom"
18+
// 2. "Atom"
19+
// 3. "JetBrains"
20+
// 4. "None"
21+
// 5. "SublimeText"
22+
// 6. "TextMate"
2123
"base_keymap": "VSCode",
2224
// Features that can be globally enabled or disabled
2325
"features": {
@@ -496,6 +498,11 @@
496498
// Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
497499
"enable_preview_from_code_navigation": false
498500
},
501+
// Settings related to the file finder.
502+
"file_finder": {
503+
// Whether to show file icons in the file finder.
504+
"file_icons": true
505+
},
499506
// Whether or not to remove any trailing whitespace from lines of a buffer
500507
// before saving it.
501508
"remove_trailing_whitespace_on_save": true,
@@ -755,6 +762,7 @@
755762
// }
756763
//
757764
"file_types": {
765+
"Plain Text": ["txt"],
758766
"JSON": ["flake.lock"],
759767
"JSONC": [
760768
"**/.zed/**/*.json",
@@ -764,6 +772,21 @@
764772
"pyrightconfig.json"
765773
]
766774
},
775+
/// By default use a recent system version of node, or install our own.
776+
/// You can override this to use a version of node that is not in $PATH with:
777+
/// {
778+
/// "node": {
779+
/// "node_path": "/path/to/node"
780+
/// "npm_path": "/path/to/npm" (defaults to node_path/../npm)
781+
/// }
782+
/// }
783+
/// or to ensure Zed always downloads and installs an isolated version of node:
784+
/// {
785+
/// "node": {
786+
/// "ignore_system_version": true,
787+
/// }
788+
/// NOTE: changing this setting currently requires restarting Zed.
789+
"node": {},
767790
// The extensions that Zed should automatically install on startup.
768791
//
769792
// If you don't want any of these extensions, add this field to your settings
@@ -1029,7 +1052,7 @@
10291052
// environment variables.
10301053
//
10311054
// Examples:
1032-
// - "proxy": "socks5://localhost:10808"
1055+
// - "proxy": "socks5h://localhost:10808"
10331056
// - "proxy": "http://127.0.0.1:10809"
10341057
"proxy": null,
10351058
// Set to configure aliases for the command palette.

0 commit comments

Comments
 (0)