Allemand Instable
a6f80c5bd9
Fix mojo LSP configuration to conform to magic introduction ( #12195 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-05 16:54:10 -06:00
David Crespo
cd1f6e8239
Add static commands to documentation ( #11950 )
...
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
2024-12-05 11:13:00 -06:00
Michael Davis
fd3e889927
Add integration tests for line comment continuation
2024-12-05 20:53:53 +09:00
Michael Davis
1e6fe00001
Trim all trailing whitespace on insert_newline
2024-12-05 20:53:53 +09:00
Ian Hobson
4c8175ca04
Draw each message line separately in draw_eol_diagnostic
...
`set_string_truncated` renders the entire string while ignoring
newlines, so if the diagnostic's message contains multiple lines it
produces messages like 'first linesecond line'.
To avoid these run-ons, this commit renders each line separately,
inserting double spaces for disambiguation.
2024-12-04 18:23:30 -06:00
Ian Hobson
715a13b2d3
Remove an incorrect comment
...
This was copied from the function above (set_style). I don't know enough
about the function to suggest an alternative.
2024-12-04 18:23:30 -06:00
Kieran Moy
e670970dd8
Change default comment token to # for unrecognized files ( #12080 )
...
* Change the default comment token
* update test
* keep the original
2024-12-05 01:11:39 +01:00
Nikita Revenco
565bfbba25
feat: :cd
with no args changes to home directory ( #12042 )
2024-12-04 18:09:33 -06:00
rojebd
5bdf14110f
add Vintage theme ( #9361 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-04 17:12:21 -06:00
rojebd
8a7006dd57
update voxed theme ( #9328 )
2024-12-04 17:03:45 -06:00
barsoosayque
cd972ae77d
Add support for Teal language ( #12081 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-04 14:59:11 -06:00
Michael Davis
07e7e7534d
theme: Include key names in style parsing warnings
...
This should make it easier to figure out why the theme-check CI job
fails. Previously the message didn't include the failing key so you
were left searching or guessing where the error occurred.
2024-12-04 10:24:42 -05:00
Tomasz Zurkowski
7a2afdc080
Show an error when formatter is not available ( #12183 )
2024-12-04 08:27:54 -06:00
Michael Davis
085c4fe4c8
docs: Eliminate improper use of "LSP" term
...
Sometimes we used "LSP" to mean "language server". This change
eliminates the improper "LSP" usage.
Ref https://github.com/helix-editor/helix/pull/12183#discussion_r1868436105
2024-12-03 18:29:44 -05:00
Michael Davis
fa68bac391
contributing: Add steps for updating the MSRV
2024-12-03 10:07:59 -05:00
Michael Davis
403aaa8cf3
CI: Use an env var for MSRV
...
This just reduces duplication in the build workflow - no functional
change - to make updating the MSRV easier in the future.
2024-12-03 10:07:59 -05:00
dependabot[bot]
cf81e15315
build(deps): bump the rust-dependencies group with 3 updates ( #12181 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-02 18:27:49 -06:00
Nikita Revenco
c0bfdd7bfe
fix: catppuccin theme colors for checked and unchecked lists ( #12167 )
2024-12-02 12:37:01 -06:00
Michael Davis
ec1628c07f
registers: Use saved values for clipboard providers which can't read
...
This fixes reading from the clipboard when using the termcode provider.
Reading isn't implemented for the termcode provider so `get_contents`
returns `ClipboardError::ReadingNotSupported`. `read_from_clipboard`
needs to recognize this case and use the saved values instead of
emitting an error log and returning nothing.
Follow-up of #10839
Also see #12142
2024-12-02 10:16:17 -05:00
uncenter
548f04fe26
Add support for the Vento template language ( #12147 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-02 09:03:11 -06:00
xiabo
44c1d51d8c
add bufferline highlighting for flexoki themes ( #12146 )
2024-12-02 09:01:00 -06:00
Poliorcetics
83fe23ce75
just: bump grammar support to Just 1.37.0 ( #12141 )
2024-12-02 08:45:46 -06:00
Ian Hobson
3af529d868
Add support for clicking on the bufferline to select a buffer
...
Co-authored-by: Kyle Smith <kyle.smith@salsify.com>
2024-12-02 15:38:00 +01:00
Jaakko Paju
b1bdbc6789
Fix language configuration for .conf files ( #12156 )
2024-12-02 08:27:08 -06:00
Michael Davis
191b0f08a9
Remove unnecessary clippy allow for old false positive
...
The clippy version after the recent MSRV bump no longer emits
`redundant_clone` warnings for these lines. We allowed these previously
since they were emitted as false positives.
2024-12-02 09:23:42 -05:00
RoloEdits
5ba97ba41e
fix(clippy): clippy 1.83 lints ( #12150 )
2024-12-02 08:23:32 -06:00
Poliorcetics
e1d1a5c5a1
cleanup: remove pr.md introduced in #11448 ( #12140 )
2024-11-27 13:24:57 -06:00
Poliorcetics
0f4729289b
fix: Remove leftover debug println! ( #12138 )
...
Introduced in dc941d6d24
2024-11-27 20:05:18 +09:00
Denys Rybalka
127a588e7f
Add file_browser for cwd and workspace root
2024-11-27 08:53:23 +01:00
Milan Vaško
7676106960
Search selection with word boundary detection ( #12126 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-11-26 13:30:53 -06:00
Ronan Desplanques
95e6c11ebc
Improve language support for Ada ( #12131 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-11-26 12:43:34 -06:00
kirawi
9ab43f345d
remove ownership test
2024-11-26 11:14:19 -05:00
Mason Mac
6fa1f185fb
use fchown for ownership test
2024-11-26 11:14:19 -05:00
Mason Mac
3587934b49
add test to check if ownership stays the same
2024-11-26 11:14:19 -05:00
kirawi
9a40080cdc
fix symlink detection & extension naming
2024-11-26 11:14:19 -05:00
kirawi
84247887a4
fix tests
2024-11-26 11:14:19 -05:00
kirawi
877054bfaa
copy xattr
2024-11-26 11:14:19 -05:00
Mason Mac
10eedfacc1
Ensure that temporary files written have the same metadata as the original
2024-11-26 11:14:18 -05:00
dependabot[bot]
80709cee61
build(deps): bump the rust-dependencies group with 4 updates ( #12129 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 18:06:54 -06:00
Michael Davis
dbd3b251d8
CI: Pin mdbook to 0.4.43
...
This should prevent future surprising changes to the site from newly
published mdbook versions with breaking changes. For example mdbook
0.4.41 introduced some changes that needed the `index.hbs` file to be
updated. See the parent commit.
2024-11-25 17:56:17 -05:00
Michael Davis
436855ad6f
book: Copy over index.hbs from mdbook 0.4.43
...
0.4.41 introduced some breaking changes for those using custom themes
so we need to re-vendor the file. This file is taken from mdbook
0.4.43:
mdbook init --theme
In a tmp directory, and then a reset of the line that adds Colibri as
a selectable theme.
2024-11-25 17:53:13 -05:00
SofusA
ab117aaeb0
Merge branch 'helix-editor:master' into pull-diagnostics
2024-11-24 12:09:12 +01:00
RoloEdits
cbbeca6c52
fix(clippy): suppress unused
lint on windows ( #12107 )
2024-11-22 08:10:11 -06:00
Ryan Roden-Corrent
46ffec3fd4
Add WORKSPACE.bzlmod to starlark file-types ( #12103 )
2024-11-22 07:57:20 -06:00
Michael Davis
fbe216e11c
CI: Match rust-toolchain action to MSRV version
2024-11-22 08:39:37 -05:00
SofusA
c27dc062d4
Merge branch 'helix-editor:master' into pull-diagnostics
2024-11-22 13:36:17 +01:00
Rolo
f07c1cc9f5
chore(msrv): bump MSRV from 1.70 to 1.76
2024-11-22 01:17:08 -08:00
Philipp Mildenberger
dc941d6d24
Add support for path completion ( #2608 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Co-authored-by: Pascal Kuthe <pascalkuthe@pm.me>
2024-11-21 21:12:36 -06:00
Lens0021 / Leslie
f305c7299d
Add support for Amber-lang ( #12021 )
...
Co-authored-by: Phoenix Himself <pkaras.it@gmail.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-11-21 10:09:42 -06:00
Valentin B.
9e0d2d0a19
chore(solidity): add highlight queries ( #12102 )
...
Add highlights for `hex` and `unicode` string prefixes and YUL booleans
2024-11-21 07:58:14 -06:00