Gagan Janjua
c6228825fd
Add Amberwood theme ( #6924 )
2023-05-03 10:22:54 -05:00
taupiqueur
c49faf5681
Add language server command for Crystal ( #6948 )
2023-05-03 09:43:37 +09:00
dependabot[bot]
d1a4bd876b
build(deps): bump tokio from 1.27.0 to 1.28.0 ( #6935 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.27.0...tokio-1.28.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 10:17:59 +09:00
dependabot[bot]
7ea5965bd5
build(deps): bump tokio-stream from 0.1.12 to 0.1.14 ( #6934 )
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.12 to 0.1.14.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Changelog](https://github.com/tokio-rs/tokio/blob/tokio-0.1.14/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.12...tokio-0.1.14 )
---
updated-dependencies:
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 09:59:05 +09:00
dependabot[bot]
d3e535b697
build(deps): bump gix from 0.44.0 to 0.44.1 ( #6933 )
...
Bumps [gix](https://github.com/Byron/gitoxide ) from 0.44.0 to 0.44.1.
- [Release notes](https://github.com/Byron/gitoxide/releases )
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.44.0...gix-v0.44.1 )
---
updated-dependencies:
- dependency-name: gix
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 09:58:06 +09:00
dependabot[bot]
d9a7bd3bc1
build(deps): bump anyhow from 1.0.70 to 1.0.71 ( #6932 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.70...1.0.71 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 09:57:53 +09:00
dependabot[bot]
1b3923374a
build(deps): bump etcetera from 0.7.1 to 0.8.0 ( #6931 )
...
Bumps [etcetera](https://github.com/lunacookies/etcetera ) from 0.7.1 to 0.8.0.
- [Release notes](https://github.com/lunacookies/etcetera/releases )
- [Commits](https://github.com/lunacookies/etcetera/compare/v0.7.1...v0.8.0 )
---
updated-dependencies:
- dependency-name: etcetera
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 09:57:45 +09:00
Chirikumbrah
2701781db7
Dracula theme: change variable and menu colors ( #6855 )
2023-05-01 23:51:35 +02:00
Scott Stevenson
015623720c
Recognise Jupyter notebooks as JSON documents ( #6927 )
2023-05-01 16:21:30 +02:00
Scott Stevenson
d7878238c1
Recognise poetry.lock as TOML ( #6928 )
2023-05-01 16:21:10 +02:00
Pascal Kuthe
75f62bc86f
fix didChange notifaction offset encoding
2023-04-30 20:26:40 -04:00
Alexis-Lapierre
b0b3f45b80
Conserve BOM and properly support UTF16 ( #6497 )
2023-05-01 00:40:06 +02:00
Rafael Madriz
efd09b6c7c
tutor: Delete space between shorthand ( #6920 )
2023-04-30 23:35:34 +02:00
Rafael Madriz
5dcc891996
tutor: Trim trailing white space ( #6919 )
2023-04-30 14:26:38 -05:00
sscheele
f52e81b1f3
Update docs for move_visual_line_*
( #6918 )
2023-04-30 14:26:18 -05:00
Pascal Kuthe
77da0ae8ce
downgrade gix log level to info ( #6915 )
2023-04-30 23:20:13 +09:00
0rphee
f2ccc03332
[Theme - noctis] Change color for whitespace rendering and indent guides
2023-04-30 09:44:26 +09:00
0rphee
96720e7b84
[Theme - noctis] Refine multiple cursor highlighting
...
Improve clarity when using multiple cursors
2023-04-30 09:44:26 +09:00
Evgeniy Tatarkin
6a1bb81f10
Sort the buffer picker by most recent access ( #2980 )
2023-04-28 11:05:14 -05:00
Timothy DeHerrera
9c6c63a2be
inject language based on file extension & shebang ( #3970 )
...
* inject language based on file extension
Nodes can now be captured with "injection.filename". If this capture
contains a valid file extension known to Helix, then the content will
be highlighted as that language.
* inject language by shebang
Nodes can now be captured with "injection.shebang". If this capture
contains a valid shebang line known to Helix, then the content will
be highlighted as the language the shebang calls for.
* add documentation for language injection
* nix: fix highlights
The `@` is now highlighted properly on either side of the function arg.
Also, extending the phases with `buildPhase = prev.buildPhase + ''''`
is now highlighted properly.
Fix highlighting of `''$` style escapes (requires tree-sitter-nix bump)
Fix `inherit` highlighting.
* simplify injection_for_match
Split out injection pair logic into its own method to make the overall
flow easier to follow.
Also transform the top-level function into a method on a
HighlightConfiguration.
* markdown: add shebang injection query
2023-04-28 18:21:34 +09:00
jorge
204d1eba4b
feat(commands): add clear-register typable command ( #5695 )
...
Co-authored-by: Jorge <chorcheus@tutanota.com>
2023-04-27 21:57:05 +02:00
ap29600
9cdc6b2e8a
Change Odin grammar to ap29600/tree-sitter-odin
( #6766 )
...
* Change Odin grammar to `ap29600/tree-sitter-odin`
The previously adopted grammar, `MineBill/tree-sitter-odin`, is unmaintained and mentions my repository as an alternative source.
* update queries
* docgen
* fix queries
* Update runtime/queries/odin/highlights.scm
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* remove `ERROR` query for `odin`
* track the latest rev in `ap29600/tree-sitter-odin`
* runtime/queries/odin/highlights.scm: update rune highlight class
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-04-27 16:32:21 +02:00
Vitalii Solodilov
2836ea2ac4
feat: add a config option to exclude declaration from LSP references ( #6886 )
...
* feat: added the config option to exclude declaration from reference query
Fixes : #5344
* fix: review
* fix: review
2023-04-27 16:30:15 +02:00
Sebastian Thiel
222be0f1e7
upgrade gitoxide to v0.44 and change repository discovery to worktree-only ( #6867 ) ( #6890 )
2023-04-27 14:38:07 +09:00
Cole Helbling
6dd5054da4
Highlight sqlx's query_scalar{,_unchecked}
macros as SQL ( #6793 )
...
* Highlight sqlx's `query_scalar{,_unchecked}` macros as SQL
* Update injections.scm
* fixup copy-pasta
2023-04-27 14:37:17 +09:00
Pascal Kuthe
8f1671eaaa
fix panic in inlay hint computation when view anchor is out of bounds ( #6883 )
2023-04-27 09:38:20 +09:00
Wesley
903bdaae87
Set PerlNavigator as the language server for Perl ( #6860 )
2023-04-27 01:28:54 +02:00
Daniel Martí
488707c7c8
add go.work and remove Gopkg.toml as Go roots ( #6884 )
...
Gopkg.toml was used by dep, Go's original dependency management tool.
It was an experiment that culminated in official and built-in support
for Go modules in mid 2018, and dep was deprecated and archived
in mid 2020 per https://github.com/golang/go/issues/38158 .
Now, in 2023, Gopkg.toml files are incredibly rare in actively developed
Go projects, as people use go.mod with Go modules instead.
While here, also add go.work as a root file, since that is used by
Go module workspaces, added in Go 1.18 in early 2022.
gopls or commands like `go build` work inside either go.work or go.mod.
These two root files are the same ones used by gopls integrations with
other editors like vim or neovim.
2023-04-26 22:51:04 +09:00
Timothy DeHerrera
080f85c34f
fix(nix): fix superflous /
that breaks the build ( #6880 )
...
Resolves #1779
2023-04-26 10:15:16 +09:00
Daniel Martí
e7f25d88ca
Avoid extra indentation on Go switches ( #6817 )
...
Unlike other languages, in Go, switches themselves are not indented;
it's just each case body which is indented by one level:
switch foo {
case "bar":
baz()
}
As such, we shouldn't `@indent` for type_switch_statement nor
expression_switch_statement, as otherwise inserted lines show up as:
switch foo {
// inserted with "o"
case "bar":
// inserted with "o"
baz()
}
With the fix, the inserted lines are indented properly:
switch foo {
// inserted with "o"
case "bar":
// inserted with "o"
baz()
}
I also verified that indentation on selects similarly works well.
Thanks to Triton171 for helping with this fix.
2023-04-25 18:05:23 -05:00
Dimitri Sabadie
096ed0ced4
Add extend_to_first_nonwhitespace ( #6837 )
...
Closes #6836
2023-04-25 19:14:06 +02:00
dependabot[bot]
0097e191bb
build(deps): bump etcetera from 0.5.0 to 0.7.1 ( #6873 )
...
Bumps [etcetera](https://github.com/lunacookies/etcetera ) from 0.5.0 to 0.7.1.
- [Release notes](https://github.com/lunacookies/etcetera/releases )
- [Commits](https://github.com/lunacookies/etcetera/compare/v0.5.0...v0.7.1 )
---
updated-dependencies:
- dependency-name: etcetera
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 11:52:17 +09:00
dependabot[bot]
d45af96fc4
build(deps): bump libc from 0.2.141 to 0.2.142 ( #6872 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.141 to 0.2.142.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.141...0.2.142 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 11:51:43 +09:00
dependabot[bot]
f47f8d538d
build(deps): bump regex from 1.7.3 to 1.8.1 ( #6871 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.7.3 to 1.8.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.7.3...1.8.1 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 11:51:35 +09:00
dependabot[bot]
11e3fdd153
build(deps): bump dunce from 1.0.3 to 1.0.4 ( #6870 )
...
Bumps [dunce](https://gitlab.com/kornelski/dunce ) from 1.0.3 to 1.0.4.
- [Release notes](https://gitlab.com/kornelski/dunce/tags )
- [Commits](https://gitlab.com/kornelski/dunce/compare/v1.0.3...v1.0.4 )
---
updated-dependencies:
- dependency-name: dunce
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 11:51:25 +09:00
dependabot[bot]
fd1b3dc499
build(deps): bump bitflags from 2.1.0 to 2.2.1 ( #6869 )
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.1.0 to 2.2.1.
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.1.0...2.2.1 )
---
updated-dependencies:
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 11:51:12 +09:00
ymgyt
61ff2bc094
return early if soft wrap is invalid ( #6856 )
2023-04-23 08:24:17 -05:00
Atticus Sebastiani
228a4af35f
make :u
alias :update
( #6835 )
...
* Gave the command update the alias u
* Re added trailing newline
* generated docs
2023-04-23 04:07:34 +02:00
Pascal Kuthe
b7c62e200e
fix windows builds ( #6845 )
2023-04-22 19:38:25 +09:00
Michael T. Mordowanec
a1044a6c68
Change soft-wrap.wrap_at_text_width to kebab case in documentation ( #6842 )
...
Solves #6803 .
2023-04-21 16:45:50 -05:00
Michael Davis
ee7413a3fd
tui: Allow toggling mouse capture at runtime ( #6675 )
...
This picks up changes to the `editor.mouse` option at runtime - either
through `:set-option` or `:config-reload`. When the value changes, we
tell the terminal to enable or disable mouse capture sequences.
2023-04-21 12:53:27 +09:00
Paul Lange
78088ac185
Ayu dark improvements ( #6622 )
...
* theme(ayu_dark): Differentiate primary cursor
* theme(ayu_dark): Color statusline mode field
* theme(ayu): Adapt other ayu themes as well
2023-04-21 12:53:04 +09:00
Chirikumbrah
2342807364
another refactoring of dracula theme ( #6767 )
2023-04-21 12:51:47 +09:00
Ollie Charles
5aedf11493
Replace *.cabal
in Haskell roots
with cabal.project
( #6828 )
...
`roots` doesn't support wildcards. As such this root is dropped, and `cabal.project` is added, which is probably the best we can do for Cabal-based projects for now.
2023-04-21 12:51:17 +09:00
Pascal Kuthe
c3e2db77f7
flip symbol range in LSP goto commands ( #6794 )
2023-04-21 12:50:37 +09:00
Pascal Kuthe
13cc44c65e
fix windows build ( #6834 )
2023-04-21 12:49:27 +09:00
Pascal Kuthe
b336cd76a7
update dependencies ( #6808 )
2023-04-20 14:53:38 +09:00
Pascal Kuthe
f5d38cee17
produce error when grammar build fails ( #6795 )
...
* produce error when grammar build fails
* print which grammar build failed
2023-04-20 14:53:16 +09:00
David Else
83c307a66a
Improve and update the installation documentation ( #6809 )
2023-04-20 00:56:18 +02:00
Lakshya Singh
4f03c03556
update tree-sitter-markdown ( #6785 )
...
* chore: fix bump tree-sitter-markdown
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
* chore: bump markdown_inline to latest rev
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
---------
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-04-19 01:21:15 +02:00