Jonas Tepe
a766b32ed1
Expand chapter one recap of tutor
...
This add the missing variant of entering insert mode
to the chapter 1 recap section.
2 years ago
Ivan
0bc7259672
add prisma tree-sitter and lsp support ( #2703 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
Gokul Soumya
e9283b20b4
Add docstring for language_server!() macro ( #2750 )
2 years ago
Gokul Soumya
0b8a00ac96
Refactor textobject node capture ( #2741 )
2 years ago
Daniel Hines
9b9c3e5ae2
add rust-analyzer to shell environment ( #2739 )
2 years ago
Clay
f37ffaa3a1
elixirLS disable dialyzer by default ( #2710 )
...
Not all Elixir projects use dialyzer and it can cause the editor
to slow down quite a bit on large projects if the PLT is not built.
See https://github.com/elixir-lsp/elixir-ls#dialyzer-integration=
2 years ago
Danny
567e71fbbc
fix spelling of catppuccin theme ( #2713 )
2 years ago
Frojdholm
e0532771cc
Do not add extra line breaks in markdown lists ( #2689 )
2 years ago
Michael Davis
4a27e2d938
capture rust closures as function textobjects
...
Closures like
iter.map(|a| a + 1)
Are sort-of functions, so `]f` or `maf` or `mif` can apply to them
as well as named function definitions.
2 years ago
Michael Davis
f7a3d35752
add textobject queries for gleam
2 years ago
Michael Davis
bcafdf404f
add textobject queries for elixir
2 years ago
Michael Davis
7a9147489e
add textobject queries for erlang
2 years ago
dependabot[bot]
9f8df05d96
build(deps): bump tokio-stream from 0.1.8 to 0.1.9 ( #2690 )
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.8...tokio-stream-0.1.9 )
---
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>
2 years ago
dependabot[bot]
5c7d9d6027
build(deps): bump tokio from 1.18.2 to 1.19.2 ( #2691 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.2 to 1.19.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
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>
2 years ago
Yusuf Bera Ertan
bb83ea8393
chore(nix): format nix files with alejandra, update deps, minor code refactors ( #2683 )
2 years ago
farwyler
f0d1c85553
support for openscad ( #2680 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
Blaž Hrastnik
26dbdb70fb
Refactor push_jump so we're not needlessly fetching doc twice
2 years ago
Blaž Hrastnik
3d9923969a
minor: Simplify Document.language_id()
2 years ago
Blaž Hrastnik
b14c258a2c
prompt: If submitting empty prompt, use default (last used)
2 years ago
Henry
8351a82c2c
simplify some keymap key names ( #2677 )
2 years ago
Michael Davis
0035c29fc1
Use a minimal binary to fetch grammar sources in release CI ( #2557 )
...
This is an optimization for the release CI. The release CI can take
a while since it compiles release builds for all operating systems.
We cut down on duplicate work and overall time by fetching
tree-sitter grammar repositories and then using those repositories
in all later steps. Previously we built all of helix just to run
helix_loader::grammar::fetch_grammars()
which is wasteful on time. With this change we only build the
helix-loader crate.
2 years ago
Termina94
f1ae496860
Add shell insert commands to typable and config ( #2589 )
...
* Add shell insert commands to typable and config
* generate docs
Co-authored-by: Dean Revell <revell@gmail.com>
2 years ago
farwyler
f92a25a856
Passing extra formatting options to LSPs ( #2635 )
...
* allows passing extra formatting options to LSPs
- adds optional field 'format' to [[language]] sections in 'languages.toml'
- passes specified options the LSPs via FormattingOptions
* cleaner conversion of formatting properties
* move formatting options inside lsp::Client
* cleans up formatting properties merge
2 years ago
gavynriebau
b2bd87df81
Fix crash due to cycles when replaying macros ( #2647 )
...
In certain circumstances it was possible to get into an infinite loop
when replaying macros such as when different macros attempt to replay
each other.
This commit adds changes to track which macros are currently being
replayed and prevent getting into infinite loops.
2 years ago
Michael Davis
1c2aaf3baf
ensure :quit and :quit! take no arguments ( #2654 )
2 years ago
yzwduck
d24ca66dbb
Avoid modifying jumplist until jumping to ref ( #2670 )
...
When a goto command is cancelled, the jumplist should remain unchanged.
This commit delays saving the current selection to the jumplist until
jumping to a reference.
2 years ago
gavynriebau
026241cf72
Fix panic on close last buffer ( #2367 ) ( #2658 )
...
* Fix panic on close last buffer (#2367 )
In certain circumstances it was possible to cause a panic when closing
buffers due to some mishandling of view document history.
A change has been made to delete removed documents from the history of
accessed documents for each view. The ensures we don't attempt to jump
to a deleted document by mistake.
* Move remove document code into View function 'remove_document'
* Replace 'view.jumps.remove' call with 'view.remove_document' call
2 years ago
nosa
5b4e0a304b
Update selection style of Night Owl ( #2668 )
2 years ago
nosa
dfd0754394
Update keymap docs for window swapping ( #2659 )
2 years ago
Michael Davis
fd4858c03d
add tree-sitter-jsdoc ( #2650 )
2 years ago
Michael Davis
42d780b103
add tree-sitter-edoc ( #2640 )
...
* add tree-sitter-edoc
* fix escape character capture in markdown queries
* add field negation operator "!" to tsq highlights
2 years ago
Kirawi
4f3d0a7706
append `set_line_ending` to document history ( #2649 )
2 years ago
Frojdholm
f7c27b604f
Ignore SendErrors when handling grammars ( #2641 )
...
When handling grammars, fetching and building is done in a thread
pool. Results are communicated over channels and the receiving
channel is closed on first error. This causes subsequent sends to
fail causing a mess in stderr. This ignores all SendErrors causing
only the first error to be printed.
2 years ago
Blaž Hrastnik
378f438fb0
fix: lsp: be more defensive about URI conversions
2 years ago
Blaž Hrastnik
6de6a3edbb
fix: lsp: be more defensive about URI conversions
2 years ago
Blaž Hrastnik
3d91c99c3e
fix: lsp: Sort edits by start range, Omnisharp sends them in reverse
2 years ago
Michael Zeller
99e08f50bd
catpuccin ui.popup should be a different color from ui.background ( #2644 )
2 years ago
Fanda Vacek
8d4c954060
CPON parser supports unsigned int ( #2643 )
...
Co-authored-by: Fanda Vacek <fvacek@elektroline.cz>
2 years ago
Ryan Russell
ae12c58f0f
Improve Readability ( #2639 )
2 years ago
Ben Lee-Cohen
fc666db6b9
Solarized Light: Fixing menu colors and adding English translation ( #2626 )
2 years ago
Andrey Tkachenko
fa2eeccc57
Fix unwrap error when undo after `shell_append_output` ( #2625 )
2 years ago
Clay
fc8c488322
Elixir: inject Markdown into docs, remove h sigil HEEx injection ( #2619 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
3 years ago
Timothy DeHerrera
eba82250bb
feat(lang): Update Nix grammar & improve queries ( #2472 )
3 years ago
Blaž Hrastnik
370a16d0f0
Update to ropey 1.5
3 years ago
Blaž Hrastnik
5ed6223990
fix: Remove empty scratch buffer from jumplists when removing it
...
Fixes #1238
3 years ago
Paul Graydon
710c4a84b2
Adjust colors in tokyonight themes ( #2606 )
3 years ago
Michael Zeller
b43074dad3
illumos linker doesn't currently have -z relro ( #2602 )
3 years ago
Marcin Puc
cd4622db9b
Update from-source install instruction in README ( #2603 )
3 years ago
Hugo
89c6e8aa94
Remove unnecessary `unwrap` ( #2599 )
...
`strip_prefix` will itself check whether the string starts with the
prefix, so the extra call to `starts_with` was unnecessary.
3 years ago
Blaž Hrastnik
10415a8069
Bump dependencies, allow retain_mut for now
3 years ago