Alberto Romero
507dd50860
Add filename completer for shell prompt ( #7569 )
1 year ago
Pascal Kuthe
618620b369
use redraw handle for debouncing LSP messages ( #7538 )
1 year ago
Tom Taylor
dc50263ed0
Fix incorrect gutter bail message ( #7534 )
1 year ago
Erin van der Veen
3fb430257e
Update Nickel grammar ( #7551 )
1 year ago
zer0-x
9ccca81305
book: Rename Arch Linux's repository from `community` to `extra` ( #7543 )
1 year ago
dependabot[bot]
57e538d07b
build(deps): bump gix from 0.47.0 to 0.48.0 ( #7531 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
c091f9a37c
build(deps): bump serde from 1.0.164 to 1.0.166 ( #7527 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.164 to 1.0.166.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.164...v1.0.166 )
---
updated-dependencies:
- dependency-name: serde
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>
1 year ago
dependabot[bot]
9840422281
build(deps): bump bitflags from 2.3.2 to 2.3.3 ( #7530 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
83e59197ac
build(deps): bump indoc from 2.0.1 to 2.0.2 ( #7529 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
d908a6ed19
build(deps): bump tokio from 1.28.2 to 1.29.1 ( #7528 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Álan Crístoffer
457b389395
highlight(matlab): Many bug fixes and improvements ( #7511 )
1 year ago
Álan Crístoffer
a9849ebee4
highlight(matlab): Fix string's single-quote's color ( #7493 )
1 year ago
Chris Heyes
aec1b997dd
Add .cppm file type to cpp language configuration ( #7492 )
1 year ago
Tshepang Mbambo
9546e0c0a7
docs: align content with parent paragraph ( #7488 )
1 year ago
Álan Crístoffer
78505e0149
Update tree-sitter-matlab ( #7491 )
1 year ago
Michael Davis
e0bb032f0e
LSP: Forcefully shutdown uninitialized servers ( #7449 )
...
The LSP spec has this to say about initialize:
> Until the server has responded to the `initialize` request with an
> `InitializeResult`, the client must not send any additional requests
> or notifications to the server.
(https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initialize )
The spec is not really explicit about how to handle this scenario.
Before a client sends the 'initialize' request we are allowed to send an
'exit' notification, but after 'initialize' we can't send any requests
(like shutdown) or notifications (like exit). So my intepretation is
that we should forcefully close the server in this state.
This matches the behavior of Neovim's built-in LSP client:
5ceb2238d3/runtime/lua/vim/lsp.lua (L1610-L1628)
1 year ago
gobraves
b745fb2551
update OneDarker theme to use light-gray for inlay hints. ( #7433 )
1 year ago
Michael Davis
4fab60030f
LSP: Use negotiated position encoding for workspace edits ( #7469 )
...
Previously this was hard-coded to UTF-8 but we might have negotiated
another position encoding.
1 year ago
Michael Davis
d3f8e0592b
LSP: Discard publishDiagnostic from uninitialized servers ( #7467 )
...
The spec explicitly disallows publishDiagnostic to be sent before
the initialize response:
> ... the server is not allowed to send any requests or notifications to
> the client until it has responded with an InitializeResult ...
(https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initialize )
But if a non-compliant server sends this we currently panic because we
'.expect()' the server capabilities to be known to fetch the position
encoding. Instead of panicking we can discard the notification and log
the non-compliant behavior.
1 year ago
Pascal Kuthe
4a2337d828
correctly map unsorted positions ( #7471 )
...
* correctly map unsorted positions
* Fix typo
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
1 year ago
dependabot[bot]
d8f9b901dd
build(deps): bump libc from 0.2.146 to 0.2.147 ( #7463 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.146 to 0.2.147.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.146...0.2.147 )
---
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>
1 year ago
dependabot[bot]
b68b3608a6
build(deps): bump serde_json from 1.0.97 to 1.0.99 ( #7462 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.97 to 1.0.99.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.97...v1.0.99 )
---
updated-dependencies:
- dependency-name: serde_json
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>
1 year ago
dependabot[bot]
dcad5cddd1
build(deps): bump toml from 0.7.4 to 0.7.5 ( #7461 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.7.4 to 0.7.5.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.4...toml-v0.7.5 )
---
updated-dependencies:
- dependency-name: toml
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>
1 year ago
dependabot[bot]
ad04b9125d
build(deps): bump gix from 0.46.0 to 0.47.0 ( #7460 )
...
Bumps [gix](https://github.com/Byron/gitoxide ) from 0.46.0 to 0.47.0.
- [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.46.0...gix-v0.47.0 )
---
updated-dependencies:
- dependency-name: gix
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>
1 year ago
Michael Davis
636c91c76b
Mark buffers created from stdin as modified ( #7431 )
...
This resolves some confusing behavior where a scratch document created
by piping into hx is discarded when navigating away from that document.
We discard any scratch documents that are not modified and the original
`Editor::new_file_from_stdin` would create unmodified documents. We
refactor this function to create an empty document first and then to
apply the text from stdin as a change.
1 year ago
Blaž Hrastnik
8d39a81aa8
fix: Regression from d491e234f4
1 year ago
Pascal Kuthe
b33516fb16
move normalize fastpath into normalize function
1 year ago
Pascal Kuthe
d491e234f4
map positions through changes in O(N)
1 year ago
Branch Vincent
6c6923c39e
feat(toml): highlight table headers ( #7441 )
1 year ago
Álan Crístoffer
08c0a23b79
highlight(matlab): Bumps tree-sitter-matlab commit. ( #7442 )
1 year ago
Scott Driggers
93ac706844
Allow any indent size from 1 to 16 ( #7429 )
1 year ago
Álan Crístoffer
2c5288dafb
Replace MATLAB grammar ( #7388 )
1 year ago
eh
842518ccb7
Theme: port of Zed's OneDark and OneLight themes ( #7250 )
1 year ago
Pascal Kuthe
a0359f7f22
make TS matching fallback to plaintext
1 year ago
Pascal Kuthe
5dba649d81
Avoid false positives in non-fuzzy bracket match
1 year ago
Pascal Kuthe
37058e0401
match pairs which don't form a standalone TS node
1 year ago
A-Walrus
eb81cf3c01
Fix tree sitter chunking ( #7417 )
...
Call as bytes before slicing, that way you can take bytes that aren't
aligned to chars. Should technically also be slightly faster since you
don't have to check alignment...
1 year ago
dependabot[bot]
18160a667b
build(deps): bump bitflags from 2.3.1 to 2.3.2 ( #7394 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
00e819cfd4
build(deps): bump serde_json from 1.0.96 to 1.0.97 ( #7393 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.96...v1.0.97 )
---
updated-dependencies:
- dependency-name: serde_json
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>
1 year ago
dependabot[bot]
293a55ad2b
build(deps): bump cachix/install-nix-action from 21 to 22 ( #7392 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Kirawi
b0cdc2d6e1
remove mention of Wasm from `vision.md` ( #7395 )
1 year ago
LeoniePhiline
48ad9ae1bb
highlight(sql): Update tree-sitter-sql to `98a7fc9` ( #7387 )
...
* highlight(sql): Update tree-sitter-sql to 92018a3
* highlight(sql): Update tree-sitter-sql to 98a7fc9
1 year ago
Michael Davis
9690e0b733
Fix Component implementations for Picker ( #7382 )
1 year ago
Pascal Kuthe
06d63d6ac1
Merge pull request #7264 from the-mikedavis/merge-picker-and-filepicker
...
Merge FilePicker into Picker
1 year ago
tomleb
29638babea
Allow ANSI colors in themes ( #5119 )
1 year ago
Gokul Soumya
f18acadbd0
Completely remove old Picker and rename FilePicker to Picker
1 year ago
Michael Davis
545acfda88
Make file preview callback optional
...
When Picker and FilePicker are merged, not all Pickers will be able to
show a preview.
Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
1 year ago
Gokul Soumya
fc111213b5
Move FilePicker struct def closer to impl block
1 year ago
Gokul Soumya
15cc09fc81
Render the preview in FilePicker
1 year ago
Gokul Soumya
34c8f9ab73
Move Picker::render into FilePicker::render
1 year ago