Commit Graph

6843 Commits (67f5b7016914e20238a54decb718ac700c09cf5b)

Author SHA1 Message Date
Matt Paras 67f5b70169 implement equality for some more types 2025-06-09 07:00:45 -07:00
Matt Paras 8eae56f548 merge latest from master 2025-06-05 22:54:31 -07:00
Matt Paras f40100a0cd dont lock the engine when grabbing the docs 2025-06-05 21:35:27 -07:00
Matt Paras 6f4b41c9e8 keep component functions alive for the duration of the life cycle, skip rendering if the function is actually a bool 2025-06-05 16:17:27 -07:00
Piotr Kwarciński 82dce7a650
ViewID equality (#30) 2025-06-05 12:46:48 -07:00
Matt Paras e2b81a2ebe punch out some more docs 2025-06-04 19:25:21 -07:00
Michael Davis f6878f62f7
Set enableDiagnostics in prisma-language-server config
Without this key `prisma-language-server` currently crashes during
initialization. See #13662.
2025-06-03 10:08:49 -04:00
Ryan Mehri 6c43dc4962
fix: trim whitespace up to the last selection on insert_newline (#13673) 2025-06-03 08:45:19 -05:00
Matt Paras ba1fdac4e2 use inferred steel lsp home location 2025-06-02 18:01:15 -07:00
dependabot[bot] 1ea9050a5e
build(deps): bump the rust-dependencies group with 2 updates (#13676)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 18:27:22 -05:00
Matt Paras fe2ab3565f fix theme api 2025-06-01 16:18:23 -07:00
Matt Paras 3149754e85 bake in a high level theme api 2025-06-01 16:11:36 -07:00
Matt Paras f032f188d9 no longer install via git submodule, just use cargo install 2025-06-01 14:43:49 -07:00
Matt Paras bc01dda33a check if a document has been modified 2025-05-31 10:07:13 -07:00
Nik Revenco 2baff46b25
fix: Some Incorrect Rust highlights (#13657)
Co-authored-by: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-05-31 09:43:19 -05:00
Jonas Köhnen 921ca08e1b
highlights/go: fix locals clashing with variable.other.member (#13644) 2025-05-31 09:41:19 -05:00
Jeff Bencin 17fb12bcf3
feat: Add Clarity language support (#13647) 2025-05-31 09:11:16 -05:00
Michael Davis 67f1fe20c3
Fix command line completion replacement for quoted items
With a directory with spaces in the name (for example
`mkdir -p 'Temp/Abc Def'`), completing `Temp/Ab` would create a
completion item `'Temp/AbAbc Def'`. Now it correctly completes
`'Temp/Abc Def'`
2025-05-31 09:56:54 -04:00
Matt Paras 01cfd2e6d4 update steel 2025-05-30 20:40:13 -07:00
Matt Paras 9f581f802b update steel, add new time primitives 2025-05-30 17:23:20 -07:00
Matt Paras c7273d754c add document saved hook 2025-05-29 21:34:47 -07:00
Michael Davis 8961ae1dc6
Consistently use `helix_core::config::default_{lang,config}_loader`
This avoids using any custom configuration in a user-defined
`languages.toml` config for the syntax test cases. The test cases should
only use the builtin `languages.toml` config.

Also the xtask crate reimplemented `default_lang_loader` and
`default_lang_config`. These functions are replaced with calls into
`helix_core`.
2025-05-29 09:55:26 -04:00
Tino 3366db0afb
Add Ty language server (#13643) 2025-05-29 08:34:23 -05:00
Erasin Wang 733ebcdaeb
Add file indentation style for statusline (#13632) 2025-05-29 08:20:22 -05:00
Matt Paras b321252da4 update steel 2025-05-28 21:20:02 -07:00
Matt Paras d7bdac1ee7 add generated docs 2025-05-28 06:39:15 -07:00
Matt Paras 977fc9e786 add dynamic option config 2025-05-28 06:38:00 -07:00
Matt Paras c1da27bbab add missing bufferline option 2025-05-28 06:10:57 -07:00
Matt Paras 0d509d619b update steel 2025-05-27 20:38:54 -07:00
Matt Paras b3d55c0ce9 clean up 2025-05-27 20:28:50 -07:00
Matt Paras 863cf60422 speed up the keymap api 2025-05-27 20:27:21 -07:00
CalebLarsen 2bd7452fe0
Make signature_help more like hover, fix overflow and lack of scrolling in signature_help (#13566)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-05-27 10:18:12 -05:00
CalebLarsen 7dcddf98c6
Append changes to history on jumps (#13619)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-05-27 09:44:47 -05:00
dependabot[bot] c9e7b0f84f
build(deps): bump the rust-dependencies group with 2 updates (#13621)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 08:39:15 -05:00
Matthew Paras c5bd4518e1
Merge pull request #29 from piotrkwarcinski/exp-picker-fix
Fix call to exp-picker callback
2025-05-26 13:50:44 -07:00
piotrkwarcinski 85e83d9d9a Fix call to exp-picker callback 2025-05-26 22:14:55 +02:00
Axlefublr 2fbe7fc5b5
fix(doc): missing capitalization of `goto_{next,prev}_tabstop` (#13616) 2025-05-26 08:48:32 -05:00
Zhaith Izaliel 12523cd126
fix: fix support for grammar overlays and include predicate (#13603) (#13613) 2025-05-26 08:47:14 -05:00
Binh Tran 8d58f6ce8d
fix(highlights/ungrammar): improve UX (#13607) 2025-05-25 08:47:10 -05:00
Matt Paras fda1bbf742 add macros for language configuration and lsp configuration 2025-05-24 21:48:36 -07:00
Michael Davis 702a961517
Fix `try_restore_indent` on non-LF documents
On Windows for example the behavior of this function typically diverges
from the usual behavior on Unix. Instead of checking that the inserted
string starts with `'\n'` (untrue for for CRLF line endings) we need to
check that the first grapheme cluster in the string is a line ending.
(All line endings are single grapheme clusters.)
2025-05-24 11:42:29 -04:00
Nik Revenco 1023e8f964
feat: highlight rust string interpolation macros that use `format_args!` (#13533)
Co-authored-by: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-05-24 10:02:32 -05:00
Saheed Adeleye 223ceec10a
Add an `--insensitive`/`-i` flag for `:sort` (#13560)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-05-24 09:55:48 -05:00
Christian Fredrik Johnsen cb1ec1b27e fix(tutor): replace unexisting and non existing with nonexistent
Sounds more natural to me.
Just a spelling change.
2025-05-24 10:29:46 -04:00
Christian Fredrik Johnsen 4098151591 fix(tutor): fix typos in section 11.2
Minor grammar fix and add missing word.
2025-05-24 10:29:46 -04:00
Christian Fredrik Johnsen 1edf98262c fix(tutor): recommend `e` instead of `w` for selecting word
I was doing the tutorial to learn Helix, and it's more sensible to use
`e` than `w`.

If you're using `w`, you will need to add an extra space.
Example, assuming cursor is at |:

This sentence has incorrect words |behind it.

If you use `wc`, then you will get:
This sentence has incorrect words |it.

while `ec` will give you
This sentence has incorrect words | it.

Which enables you to drop removing and adding a space for no reason.
2025-05-24 10:29:46 -04:00
Ricardo Fernández Serrata 237d875e7d
docs(building-from-source): suggest optimized install cmd as alternative (#13553) 2025-05-24 09:24:09 -05:00
Kris Warner b70b8df916
Add matching cursor to nord theme (#13574) 2025-05-24 09:22:23 -05:00
Matt Paras 3e5710521a bundle ext library, upgrade steel, fix block on task 2025-05-23 14:35:23 -07:00
Matt Paras aefdab6307 fix arity on acquire-context-lock 2025-05-23 06:42:14 -07:00