Commit Graph
11144 Commits
Author SHA1 Message Date
Julia 0a3331056b Merge pull request #2238 from zed-industries/subpixel-variant-incorrectly-wrapping
Avoid wrapping to the 0th glyph variant when the 4th should be used
2023-03-03 13:13:34 -05:00
JuliaandAntonio Scandurra c29e4a2adf Avoid wrapping to the 0th glyph variant when the 4th should be used
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-03-03 10:04:44 -08:00
Nate Butler 8fc4755c76 Merge pull request #2237 from zed-industries/revert-2232-tab-bar-background-focus-drag
Revert "Avoid tab bar background activating an item at the end of a tab drag"
2023-03-03 09:49:55 -08:00
Nate Butler f0d00bce63 Revert "Avoid tab bar background activating an item at the end of a tab drag" 2023-03-03 09:47:58 -08:00
Mikayla MakiandMax e7c0a3418b Made fold inline styles be driven by the fold map
co-authored-by: Max <max@zed.dev>
2023-03-03 09:32:58 -08:00
Max BrunsfeldandAntonio Scandurra f40ccf2055 Avoid clobbering panic files when they happen at the same time
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2023-03-02 20:51:29 -08:00
Max Brunsfeld cdb838b200 Don't upload panic files when running in a PTY 2023-03-02 20:32:49 -08:00
Mikayla Maki 3766a1846d Merge pull request #2230 from zed-industries/fix-tab-x
Fix tab bar x
2023-03-02 19:48:08 -08:00
Mikayla Maki 0fbcffa80d Attempted to initialize code-fold indicators, does not work 2023-03-02 19:42:59 -08:00
Mikayla Maki 8041c65e23 Update tabBar.ts 2023-03-02 15:48:31 -08:00
Julia da83615eed Merge pull request #2232 from zed-industries/tab-bar-background-focus-drag
Avoid tab bar background activating an item at the end of a tab drag
2023-03-02 16:18:04 -05:00
Julia 2239ea1a46 Avoid tab bar background activating an item at the end of a tab drag 2023-03-02 13:06:58 -08:00
Mikayla Makiandnate 3b1b47918c Fix failing license
co-authored-by: nate <nate@zed.dev>
2023-03-02 12:32:47 -08:00
Max BrunsfeldandAntonio Scandurra 4781d70974 Fix range relativization when combined injections occur inside of other injections
For example, ERB template inside of a markdown code block

Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2023-03-01 14:38:35 -08:00
Max Brunsfeld be1445076c Apply external command formatting if buffer has changed while computing it 2023-03-01 10:17:04 -08:00
Nate Butler 2d795dd1c6 Add Gruvbox syntax overrides 2023-03-01 11:49:13 -05:00
Nate Butler b80bde72c5 Init gruvbox theme 2023-03-01 10:16:45 -05:00
Mikayla Maki b0376f61b6 Seperate out x-mark width 2023-03-01 00:18:45 -08:00
Mikayla Maki c79a01ad4e Fix tab bar x 2023-02-28 22:48:31 -08:00
Max Brunsfeld fb6c6c4389 Perform whitespace formatting regardless of whether buffer has a language server or path 2023-02-28 21:52:00 -08:00
Max Brunsfeld 61cfa0751a adjust buffer-formatting assertion to reflect final newline addition 2023-02-28 21:52:00 -08:00
Max Brunsfeld e80e801b44 Avoid calling edits_since in apply_diff 2023-02-28 21:52:00 -08:00
Max Brunsfeld c6362e8cf6 Add a setting for ensuring a single final newline on save 2023-02-28 21:52:00 -08:00
Max Brunsfeld e4dc2de782 Avoid finalizing transactions inside Buffer::apply_diff 2023-02-28 21:52:00 -08:00
Max Brunsfeld e0c9010104 Add setting for removing trailing whitespace on save 2023-02-28 21:52:00 -08:00
Max Brunsfeld 19dc1a1b1e Add APIs for stripping trailing whitespace from a buffer 2023-02-28 21:52:00 -08:00
Mikayla Maki cd75e3d55a Merge pull request #2229 from zed-industries/fix-click-range-bug
Fix off by one error in click ranges
2023-02-28 20:33:00 -08:00
Mikayla Maki 25b742eb6e Fix off by one error in click ranges 2023-02-28 20:27:34 -08:00
Mikayla Maki 014c4e029f Merge pull request #2228 from zed-industries/make-folds-show-on-active-lines
Made code fold indicators show up on active line indicators
2023-02-28 20:01:09 -08:00
Mikayla Maki 91f1992c49 Made code fold indicators show up on active line indicators 2023-02-28 19:53:53 -08:00
Mikayla Maki 48d865f94f Merge pull request #2220 from zed-industries/add-fold-indicators
Add code folding indicators into the gutter.
2023-02-28 17:30:17 -08:00
Mikayla Maki 04afd15ecd Fix comments 2023-02-28 17:25:35 -08:00
Mikayla Maki 061af145d5 Update tests to use new fold indicator 2023-02-28 17:17:29 -08:00
Mikayla Maki 52e8e0e51e Removed DisplayRow abstraction 2023-02-28 17:12:48 -08:00
Mikayla Maki ab01c5c3ba Added background styling of the ... 2023-02-28 16:35:44 -08:00
Mikayla Maki 01d7f4a319 Added click regions and cursor styles 2023-02-28 16:34:28 -08:00
Mikayla Maki 0c815734b4 Adjusted code-folding behavior 2023-02-28 16:34:28 -08:00
Mikayla Maki 854b12a083 WIp 2023-02-28 16:34:28 -08:00
Mikayla Maki e6c9994196 Make chevrons and lightning bolt interactive 2023-02-28 16:34:28 -08:00
Mikayla Maki 93e9977447 Added fold changes on gutter hover 2023-02-28 16:34:28 -08:00
Mikayla Maki 15338a26e1 moved code action indicator to the left 2023-02-28 16:34:28 -08:00
Mikayla Maki b818d2a8a2 Fixed autoscroll timing 2023-02-28 16:34:28 -08:00
Mikayla Maki f2914d2763 Added DisplayRow abstraction to make folding code more readable 2023-02-28 16:34:28 -08:00
Mikayla Maki 89adbc7ce7 Fix bugs in code folding 2023-02-28 16:34:28 -08:00
Mikayla Maki d000e879bf Add code folding indicators into the gutter. 2023-02-28 16:34:28 -08:00
Nate Butler c1e81a18e8 Merge pull request #2223 from zed-industries/nate/extend-syntax
Extend syntax styles available in the theme
2023-02-28 11:26:47 -05:00
Nate Butler 36e45d5d99 One family tune up + tidy 2023-02-28 11:20:16 -05:00
Nate Butler a72404fa1f Fix order of template_substitution in highlights.scm 2023-02-28 11:19:55 -05:00
Nate Butler e0a672a25c Merge branch 'main' into nate/extend-syntax 2023-02-28 11:07:35 -05:00
Nate Butler 9ad5e348b1 Tidy theme names 2023-02-28 10:55:08 -05:00