Commit Graph

5040 Commits (4f1d414d9c04e611e60f1af5e69f2347a17bc6ce)
 

Author SHA1 Message Date
Tshepang Mbambo 2f9b63999f
Break long sentence in book configuration footnote (#7279) 2 years ago
Michael Davis b3949979ae Propagate the count and register to command palette commands
Previously a count or register selection would be lost while opening
the command palette. This change allows using a register selection or
count in any command chosen from the command palette.
2 years ago
Michael Davis 0e083497a5 Persist register selection in pending keymaps
Previously the register selection (via `"`) would be lost in the middle
of any key sequence longer than one key. For example, `<space>f` would
clear the register selection after the `<space>` making it inaccessible
for the `file_picker` command.

This behavior does not currently have any effect in the default keymap
but might affect custom keymaps. This change aligns the behavior of the
register with count. Making this change allows propagating the register
to the `command_palette` (see the child commit) or other pickers should
we decide to use registers in those in the future. (Interactive global
search for example.)
2 years ago
Ilya Sovtsov 77e9a22aff
Add check for a non-zero value for tab width (#7178) 2 years ago
Alex Vinyals 204bac1706
commands(toggle): use pattern matching on the Value enum (#7240) 2 years ago
blt__ ba691f4fb0
Fix verilog grammar source repo and revision (#7262) 2 years ago
Jens Getreu 3e927ac578
Autumn theme: style "soft-wrap indicator" + maintenance (#7229)
Co-authored-by: Jens Getreu <getreu@getreu@web.de>
2 years ago
gibbz00 9926c2d292 Remove Keymap(KeyTrie) and simply use KeyTrie. 2 years ago
gibbz00 b8563685ec Move `keymap.reverse_keymap()` to `Keytrie`:
The plan is let `Keymaps` simply store `KeyTrie`s, as the `Keymap(Keytrie)` wrapping serves little to no purpose.
2 years ago
gibbz00 eda4c79f2f Remove pub keymap.name();
`keymap.name` is only used internally.
2 years ago
gibbz00 3d0bc72099 Place `Info::from_keymap()` contents in `keymap.infobox()`:
This makes it easier later control the order in which the key events
are presented.
2 years ago
gibbz00 19326d23d1 Keymap infobox: Idiomatic body tuple.
Does not change any behavior other than making the tuple slightly
more idiomatic.  Keymap infobox shows key events, then the respective
description. This commit makes sure that order is used from the get go,
rather than flipping it midway.
2 years ago
gibbz00 3a0892f793 Exclude config no_op bindings in command palette. 2 years ago
gibbz00 39773e48d3 Remove superfluous command description pruning for keymap infobox:
Exist under the wrong (possibly just outdated) assumption that command
descriptions are written with their `KeyTrie` name prefixed
2 years ago
gibbz00 d20c1632a7 `helix_term::keymap`: Remove one-liner solely used for a test. 2 years ago
gibbz00 f7df53c948 Make `Keymap` a tuple struct. 2 years ago
gibbz00 daea97a89f keymap: Rename KeyTrie::Leaf -> KeyTrie::MapppableCommand
The variant Sequence is technically also a leaf.
2 years ago
gibbz00 a56af221d7 keymap: Derive `Default` for KeyTrieNode 2 years ago
Alexander Brevig 78e8695420
Add support for Forth (#7256) 2 years ago
Tobias Clasen 71688a387b
Recognize 'make' file-type as Makefile (#7212) 2 years ago
dependabot[bot] 9f5b965627
build(deps): bump regex from 1.8.3 to 1.8.4 (#7249)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] 6deb0e4ef7
build(deps): bump once_cell from 1.17.2 to 1.18.0 (#7248)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] a56222cd0e
build(deps): bump url from 2.3.1 to 2.4.0 (#7247)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] a8c99fb24c
build(deps): bump hashbrown from 0.13.2 to 0.14.0 (#7246)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] 1d114ecb6e
build(deps): bump chrono from 0.4.25 to 0.4.26 (#7245)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] cd01dc886a
build(deps): bump libc from 0.2.144 to 0.2.145 (#7244)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Alex Vinyals a2b8cfdb8c
feat(core): add plaintext matching fallback to tree-sitter matching (#4288) 2 years ago
Michael Davis 428d33ab50
Exit gracefully on termination signals (#7236) 2 years ago
Alex Vinyals d5707a4696
feat(commands): allows cycling option values at runtime (#4411) 2 years ago
Ivan Tkachuk 2022e6175b
Add blueprint language (#7213)
* Add blueprint tree-sitter support

* Add blueprint lsp support

* Run cargo xtask docgen
2 years ago
Rich Seymour 751da01303
Update install.md instructions regarding symlinks (#7231)
* Update install.md

Fixes `ln` command line bug that could hit users moving from packaged to source builds.

* Remove extra 'how to' command example
2 years ago
avaunit02 232d9f96a0
Fix textobject keybindings in usage docs (#7197) 2 years ago
Pascal Kuthe de0ef8af15
fix UB in diff gutter (#7227) 2 years ago
Zisulin Morbrot d511122279
Add description for 'ui.text.focus' in theme docs (#7177) 2 years ago
zetashift 92380540b8
chore: update scala tree-sitter grammar (#7147)
* chore: update scala tree-sitter grammar

* Add locals.scm for Scala
2 years ago
dependabot[bot] a726799a4e
build(deps): bump log from 0.4.17 to 0.4.18 (#7175)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] 8bd841136a
build(deps): bump once_cell from 1.17.1 to 1.17.2 (#7174)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] 825e7c4976
build(deps): bump tokio from 1.28.1 to 1.28.2 (#7173)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] f694c24ac8
build(deps): bump regex from 1.8.2 to 1.8.3 (#7172)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] d62fb8c8d7
build(deps): bump chrono from 0.4.24 to 0.4.25 (#7171)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] a367a713ef
build(deps): bump cachix/install-nix-action from 20 to 21 (#7170)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Ethan Wilkes 3334e7e4b2
fixed repeat_last_motion extends selection (#7159) 2 years ago
yvt 3a8592abdb
feat(languages): recognise `.gir` as XML (#7152) 2 years ago
Jimmy Zelinskie b107814e39
languages: add .zimrc to bash filetypes (#7146) 2 years ago
Gammut 86ef389c0d
Highlight query improvements for java and typescript (#7145)
* Add missing queries to java highlights

* Fix generic type bracket highlights in typescript
2 years ago
Martin Weinelt 61a89956e3
book: Mention Helix package in nixpkgs (#7064) 2 years ago
Ravi Shekhar Jethani 6e647e83ed
Update spacebones_light.toml (#7125)
Better contrast between type variable and its members
2 years ago
Casper Rogild Storm 1dd1735909
Correct selection color (#7138) 2 years ago
Ikko Eltociear Ashimine 349e2b5f0e
Fix typo in syntax.rs (#7114)
seperator -> separator
2 years ago
William Etheredge a2e11af608
Support hidden justfiles (#7088) 2 years ago