Commit log

49ef3e3 Put LiveKitBridge Swift build directory in `target` (#2812)

Click to expand commit body
Helps it get caught in a cargo clean. Joseph was having trouble building
a specific version of the app and deleting the Swift build dir for this
package resolved it. He had run cargo clean which would have handled
that if the Swift build dir was in `target` which this patch does


Release Notes:

- N/A

Julia created

ca4e218 add ruby support for semantic search

KCaverly created

a5dd8dd add lua embedding query for semantic search

KCaverly created

8926266 Halve opacity on wrap guides

Mikayla Maki created

6184c60 disable wrap guides in the assitant panel (#2814)

Click to expand commit body
Wrap guides do not look correct in the assistant due to it's current
header styling. Disable them in that context now.

Release Notes:

- Fix a visual bug displaying when enabling wrap guides in the
assistant.

Mikayla Maki created

d58f031 disable wrap guides in the assitant panel

Mikayla Maki created

0bd6e7b Fix comment

Joseph T. Lyons created

b0e81c5 Remove unused code in test

Joseph T. Lyons created

525c8da Add a command to collapse all entires (#2813)

Click to expand commit body
Release Notes:

- Added a `project panel: collapse all entries` command
([#158](https://github.com/zed-industries/community/issues/158)).

Joseph T. Lyons created

2c47efc Add a command to collapse all entires

Joseph T. Lyons created

fe43bac Put LiveKitBridge Swift build directory in `target`

Click to expand commit body
Helps it get caught in a cargo clean

Julia created

4626981 Make wrap guides respect scroll position (#2810)

Click to expand commit body
Release Notes:

- Fixed a visual bug when scrolling with wrap guides active

Mikayla Maki created

d3b89e1 Make wrap guides respect scroll position

Mikayla Maki created

e6f3e0a Reattempt Node installation if the installation itself errors (#2808)

Click to expand commit body
This also makes us a bit more aggressive about reinstalling Node

Fixes
https://linear.app/zed-industries/issue/Z-2697/language-server-error-html-failed-to-iterate-over-archive

Release Notes:
- Improved the Node runtime re-installation mechanism for language
servers.

Julia created

46101bf Reattempt Node installation if the installation itself errors

Click to expand commit body
This also makes us a bit more aggressive about reinstalling Node

Julia created

b8690ec Update release action to choose between preview and stable URL in Discord announcements

Click to expand commit body
This is what ChatGPT told me, so we'll see.

Joseph T. Lyons created

5d8370e Don't highlight project search matches either (#2807)

Click to expand commit body
@JosephTLyons this is probably worth merging alongside #2803

- vim: Fix a bug where focusing project search results unexpectedly
entered visual mode

Conrad Irwin created

fac0e2d Don't highlight project search matches either

Conrad Irwin created

97042eb Make project search includes and excludes more user-friendly (#2806)

Click to expand commit body
Closes
https://linear.app/zed-industries/issue/Z-2707/make-inclusionexclusion-with-non-globs-more-intuitive

Allow search results that start with the include/exclude path part.

![image](https://github.com/zed-industries/zed/assets/2690773/ef48ca8e-f8fd-41b2-a656-c31dc7712a11)


Release Notes:

- Improved project search include/exclude filters' usability: allow path
entries along with the glob ones

Kirill Bulatov created

cf6e524 Make project search includes and excludes more user-friendly

Click to expand commit body
Allow search results that start with the include/exclude path part

Kirill Bulatov created

1545128 Add Nix language support (#2781)

Click to expand commit body
This adds rudimentary language support for the Nix expression language,
through tree-sitter-nix.

I spent a little bit of time trying to add support for one of the Nix
language servers too, but wasn't able to get any of them running
reliably without crashing, and so I've opted to stick to just the
tree-sitter grammar for now.


![image](https://github.com/zed-industries/zed/assets/285821/c770f3d8-6fa0-4083-9bf3-239cc78ca307)

Mikayla Maki created

e945b3c feat(workspace): add action for closing inactive editors on all panes (#2771)

Click to expand commit body
using zed more and more to develop zed itself I'm finding some small qol
features missing, this is one of them
I'm very used to open two or three splits, and sometimes I want to close
everything except for the active editor, but that wasn't supported, as
the `pane::CloseInactiveItems` action only closes inactive items on the
active pane

so I've implemented it really quick, although I'm not sure it's the
right way to do this

note: I really don't like the default keybinding I've set it to, I have
this action bound to `cmd-shift-w` on all editors, but in zed is taken,
so I chose something that's free but without thinking too much about it

Release Notes:

- Added action for closing inactive editors from all panes

Mikayla Maki created

ade8d4d Fix jumping to definition in a new file (#2803)

Click to expand commit body
This is broken because vim currently sets settings only on the active
editor. Fix this by correcting the range on the currently active editor.

It would be nice (at some point) to refactor how vim sets settings, but
that's for another day.

Release Notes:

- vim: Fix bug when jumping to definition in new file accidentally
entered visual mode.

Conrad Irwin created

dc5b23e Update elixir depedency (#2805)

Click to expand commit body
Fixes https://github.com/zed-industries/community/issues/1761

Redo of https://github.com/zed-industries/zed/pull/2734 

This PR increases the version further to one that does not have the
symbol collision issue we found with elm-tree-sitter

Release Notes:

- N/A

Mikayla Maki created

4735b07 Fix warning

Mikayla Maki created

a0fc515 Rework close_inactive_items to await all tasks

Click to expand commit body
Update action name to be more accurate

Mikayla Maki created

45e5d81 update to dependency without symbol conflict

Mikayla Maki created

0dffb72 Update elixir depedency

Click to expand commit body
co-authored-by: Alex <alexviscreanu@gmail.com>

Mikayla Maki and Alex created

5497694 Underscore arguments in conditionally compiled code (#2804)

Click to expand commit body
For some reason, our bundle script doesn't fail on warning, so this
hasn't been caught yet.

Release Notes:

- N/A

Mikayla Maki created

f15a038 underscore arguments

Mikayla Maki created

1935307 Fix jumping to definition in a new file

Click to expand commit body
This is broken because vim currently sets settings only on the active
editor. Fix this by correcting the range on the currently active editor.

It would be nice (at some point) to refactor how vim sets settings, but
that's for another day.

Conrad Irwin created

ae765bb Make mode indicator follow vim enabled state (#2802)

Click to expand commit body
There was a minor visual bug introduced in
https://github.com/zed-industries/zed/pull/2801, this PR corrects it.

Release Notes:

- N/A

Mikayla Maki created

03bc430 Make mode indicator follow vim enabled state

Mikayla Maki created

17fa15d Avoid panic by accessing view handle by global in wrong window (#2801)

Click to expand commit body
View handles are window specific but the Vim global will be doing things
in all windows, that would cause a panic when Vim attempted to update a
status bar mode indicator in a background window

Release Notes:

- N/A

Mikayla Maki created

fc9687d Avoid panic by accessing view handle by global in wrong window

Click to expand commit body
View handles are window specific but this global will be doing things
in all windows, that would cause a panic when it attempted to update
a status bar mode indicator in a background window

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>

Julia and Mikayla Maki created

3979454 Follow naming convention for menu items

Joseph T. Lyons created

e320185 Publish preview releases to discord (#2800)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

7a9af7c Publish preview releases to discord

Joseph T. Lyons created

6a0e1d5 Update Alacritty (#2798)

Click to expand commit body
This will potentially fix a number of Alacritty related panics, however
it is tricky to figure out which ones in particular will be impacted for
sure. We've said we were going to do this for a while but with the
constant trickle of panics it seemed reasonable to just go and do it

Release Notes:

- Fixed a few potential terminal related crashes.

Julia created

0455311 Downgrade our dependency on treesitter-cpp (#2799)

Click to expand commit body
Our dependency on `tree-sitter-cpp` got upgraded to an incompatible
version despite semver 'guarantees'. This pins the dependency onto the
commit of version 0.20.0

Release Notes:

- Restored language detection for C++ (preview-only)

Mikayla Maki created

a829b5b fmt

Mikayla Maki created

d835274 Downgrade our dependency on treesitter-cpp

Mikayla Maki created

2793166 chore: add theme types docs (#2737)

Click to expand commit body
Release Notes:

- Added documentation about theme types generation

Nate Butler created

45c6358 Extract syntax highlighting properties from tree-sitter highlight queries (#2797)

Click to expand commit body
This should be a purely internal change. Let me know if any visual
changes are observed from this!

### Syntax theme
- Update the theme to allow any syntax highlighting property used in any
`highlight.scm` to be styled
- Only define syntax styles that are baked into the default theme &
don't use the default text style
- Adds the `generate-syntax` command
- Removes a few unused properties that we were styling for some reason,
like `enum` and `variant`, neither of which exist in any `highlight.scm`
- Moves `@constructor` symbols to `@method.constructor` to prevent
issues with `constructor` being a reserved property in ts/js.

Syntax is now build as the theme is created rather than as part of the
styleTree. This means it no longer requires a compiled `Theme`, which
makes things a bit more straightforward if we need to access it in other
components that should be built before the styleTrees.

### Scheme

Also updates all uses of `#match` in our `highlights.scm` files, as
these break the scheme tree-sitter query. This fixes _most_ instances of
our scheme highlighting breaking.

For some reason something in here breaks the `highlights.scm` for PHP:

```scheme
((name) @constant.builtin
 (.match? @constant.builtin "^__[A-Z][A-Z\d_]+__$"))

((name) @method.constructor
(.match? @method.constructor "^[A-Z]"))

((name) @variable.builtin
 (.eq? @variable.builtin "this"))
```

Release Notes:

- No public facing changes

Nate Butler created

b08a277 Remove redundant `syntax_highlights`

Nate Butler created

b9d5cc5 Format

Nate Butler created

0b7e75c Add the `generate-syntax` action

Nate Butler created

86fa27e Update uses of `#` to `.` in our scheme files where they are interchangeable.

Click to expand commit body
uses of `#` cause ERRORs in our scheme highlighting

Nate Butler created

85f193d Extract syntax highlighting properties from tree-sitter highlight queries

Nate Butler created

8c9c836 Update Alacritty

Julia created