gibbz00
9926c2d292
Remove Keymap(KeyTrie) and simply use KeyTrie.
1 year 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.
1 year ago
gibbz00
eda4c79f2f
Remove pub keymap.name();
...
`keymap.name` is only used internally.
1 year 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.
1 year 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.
1 year ago
gibbz00
3a0892f793
Exclude config no_op bindings in command palette.
1 year 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
1 year ago
gibbz00
d20c1632a7
`helix_term::keymap`: Remove one-liner solely used for a test.
1 year ago
gibbz00
f7df53c948
Make `Keymap` a tuple struct.
1 year ago
gibbz00
daea97a89f
keymap: Rename KeyTrie::Leaf -> KeyTrie::MapppableCommand
...
The variant Sequence is technically also a leaf.
1 year ago
gibbz00
a56af221d7
keymap: Derive `Default` for KeyTrieNode
1 year ago
Alexander Brevig
78e8695420
Add support for Forth ( #7256 )
1 year ago
Tobias Clasen
71688a387b
Recognize 'make' file-type as Makefile ( #7212 )
1 year 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>
1 year 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>
1 year 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>
1 year 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>
1 year 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>
1 year 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>
1 year ago
Alex Vinyals
a2b8cfdb8c
feat(core): add plaintext matching fallback to tree-sitter matching ( #4288 )
1 year ago
Michael Davis
428d33ab50
Exit gracefully on termination signals ( #7236 )
1 year ago
Alex Vinyals
d5707a4696
feat(commands): allows cycling option values at runtime ( #4411 )
1 year ago
Ivan Tkachuk
2022e6175b
Add blueprint language ( #7213 )
...
* Add blueprint tree-sitter support
* Add blueprint lsp support
* Run cargo xtask docgen
1 year 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
1 year ago
avaunit02
232d9f96a0
Fix textobject keybindings in usage docs ( #7197 )
1 year ago
Pascal Kuthe
de0ef8af15
fix UB in diff gutter ( #7227 )
1 year ago
Zisulin Morbrot
d511122279
Add description for 'ui.text.focus' in theme docs ( #7177 )
1 year ago
zetashift
92380540b8
chore: update scala tree-sitter grammar ( #7147 )
...
* chore: update scala tree-sitter grammar
* Add locals.scm for Scala
1 year 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>
1 year 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>
1 year 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>
1 year 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>
1 year 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>
1 year 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>
1 year ago
Ethan Wilkes
3334e7e4b2
fixed repeat_last_motion extends selection ( #7159 )
1 year ago
yvt
3a8592abdb
feat(languages): recognise `.gir` as XML ( #7152 )
1 year ago
Jimmy Zelinskie
b107814e39
languages: add .zimrc to bash filetypes ( #7146 )
1 year ago
Gammut
86ef389c0d
Highlight query improvements for java and typescript ( #7145 )
...
* Add missing queries to java highlights
* Fix generic type bracket highlights in typescript
1 year ago
Martin Weinelt
61a89956e3
book: Mention Helix package in nixpkgs ( #7064 )
1 year ago
Ravi Shekhar Jethani
6e647e83ed
Update spacebones_light.toml ( #7125 )
...
Better contrast between type variable and its members
1 year ago
Casper Rogild Storm
1dd1735909
Correct selection color ( #7138 )
1 year ago
Ikko Eltociear Ashimine
349e2b5f0e
Fix typo in syntax.rs ( #7114 )
...
seperator -> separator
1 year ago
William Etheredge
a2e11af608
Support hidden justfiles ( #7088 )
1 year ago
Brandon Sprague
16375cd94a
Treat 'Vagrantfile' files as Ruby code ( #7112 )
...
`Vagrantfile`s are configuration files for the [vagrant](https://www.vagrantup.com/ ) tool, and they are written in Ruby. Even as vagrant [is ported to Go](https://www.hashicorp.com/blog/toward-vagrant-3-0 ), `Vagrantfile`s [will be written in Ruby](https://developer.hashicorp.com/vagrant/docs/experimental/vagrant_go )
When a Vangrantfile is created, it starts with these lines:
```
```
But since Helix (quite reasonably) doesn't change editor behavior based on file contents, adding this to `languages.toml` seems like a reasonable way to get this functionality.
1 year ago
Viktor Kleen
0c21c227e1
Update languages.toml for Nickel ( #7059 )
1 year ago
Blaž Hrastnik
0266ec6ba3
Update language support doc
1 year ago
Blaž Hrastnik
591629ec11
fix compilation
1 year ago
Blaž Hrastnik
c6d1430243
Drop old cairo grammar, alias to rust for now
2 years ago
Matthew Toohey
207829eefe
Fix off-by-one in select symbol references ( #7132 )
2 years ago
Poliorcetics
8e2660b5cc
Update diagnostics correctly on LSP exit ( #7111 )
...
* chore: avoid format! call with argument when useless
* feat: also clear diagnostics for unopened documents when exiting an LSP
* feat: we already worked on `self.editor.diagnostics` no need to redo the checks
2 years ago