SoraTenshi
4748d42875
Remove unused function
11 months ago
Sora
a7952e284c
Fix broken offset calculation
...
Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de>
11 months ago
SoraTenshi
1b3c5fee17
fixup! Create own file for the StickyContext implementation
11 months ago
SoraTenshi
23ebfb542d
Create own file for the StickyContext implementation
11 months ago
SoraTenshi
32db110d65
Adjust changes to be in parity with the new @context.params queries
11 months ago
Alexis (Poliorcetics) Bourget
80596f81a2
factorise duplicated call
11 months ago
Alexis (Poliorcetics) Bourget
cfc64fa178
Only allocates the end_node vector when first needed
11 months ago
Alexis (Poliorcetics) Bourget
37033b7756
remove the need for cloning the end_nodes vector
11 months ago
Alexis (Poliorcetics) Bourget
b0060ee826
replace flat_map+next by find_map
11 months ago
Alexis (Poliorcetics) Bourget
c78ab494d6
transform filter_map to for loop equivalent
11 months ago
SoraTenshi
ceb9935375
fixup! Fix some formatting issues
11 months ago
SoraTenshi
7aa1da2660
Fix some formatting issues
11 months ago
SoraTenshi
3d2aae089f
Disable softwrap for text formats when rendering sticky nodes
11 months ago
SoraTenshi
f8fb90b487
Rework the sticky @context.end captures, and make them more clear
11 months ago
SoraTenshi
af40c5ac7c
Make the priorization a bit easier to comprehend
11 months ago
Sora
d097bfe57d
Use cloned
...
Co-authored-by: Poliorcetics <poliorcetics@users.noreply.github.com>
11 months ago
SoraTenshi
dd4fa2b227
Use default instead of new
11 months ago
SoraTenshi
bd39b50b58
Fix review comments
11 months ago
SoraTenshi
f07ca77d26
We do have to ensure uniqueness, so re-add BTreeSet
11 months ago
SoraTenshi
726a4ca323
Use Vec instead of BTreeSet / HashSet
...
In favour of unstable_sort
11 months ago
SoraTenshi
9f4f0ce8a2
Apply basic suggestions
11 months ago
SoraTenshi
92d2067fe9
Fix an issue with cache where the last node jitter on new frame
11 months ago
SoraTenshi
1619a7ad63
Add HTML context query
12 months ago
SoraTenshi
a354498d1c
Fixup context queries for ECMAScript family
12 months ago
SoraTenshi
f818a042a7
Merge branch 'master' into sticky-context
12 months ago
Tudyx
9893a1fbcc
Auto indent change if selection is linewise ( #7316 )
12 months ago
Yomain
8afc0282f2
Fix crash when cwd is deleted ( #7185 )
12 months ago
Pascal Kuthe
1adb19464f
search buffer contents during global search ( #5652 )
12 months ago
dependabot[bot]
541d2b76d6
build(deps): bump serde_json from 1.0.99 to 1.0.100 ( #7598 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot]
ac57e93583
build(deps): bump smallvec from 1.10.0 to 1.11.0 ( #7597 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot]
1790097d59
build(deps): bump regex from 1.8.4 to 1.9.1 ( #7596 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot]
57babd9456
build(deps): bump serde from 1.0.166 to 1.0.171 ( #7595 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot]
62b2b6360d
build(deps): bump toml from 0.7.5 to 0.7.6 ( #7594 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot]
66a0b64853
build(deps): bump thiserror from 1.0.40 to 1.0.43 ( #7593 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
Queyrouzec
f68956a306
Update dart commit in languages.toml ( #7576 )
12 months ago
Gabriel Hansson
c1488267e5
(Updated) Apply motion API refinements ( #6078 )
...
* _apply_motion generalization where possible
API encourages users to not forget setting `editor.last_motion` when
applying a motion. But also not setting `last_motion` without applying a
motion first.
* (rename) will_find_char -> find_char
method name makes it sound like it would be returning a boolean.
* use _apply_motion in find_char
Feature that falls out from this is that repetitions of t,T,f,F are
saved with the context extention/move and count. (Not defaulting to extend
by 1 count).
* Finalize apply_motion API
last_motion is now a private field and can only be set by calling
Editor.apply_motion(). Removing need (and possibility) of writing:
`motion(editor); editor.last_motion = motion`
Now it's just: `editor.apply_motion(motion)`
* editor.last_message: rm Box wrap around Arc
* Use pre-existing `Direction` rather than custom `SearchDirection`.
* `LastMotion` type alias for `Option<Arc<dyn Fn(&mut Editor)>>`
* Take motion rather than cloning it.
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* last_motion as Option<Motion>.
* Use `Box` over `Arc` for `last_motion`.
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
12 months ago
Em Zhan
9a324f337a
docs: Update mdBook theme and improve maintainability ( #7524 )
12 months ago
Borys Lykah
7c338429f8
Add language support for persistent library syntax ( #7261 )
12 months ago
Sharpened Blade
c33795e770
Update the Nord theme to follow the Nord style guide ( #7490 )
12 months ago
Gammut
607b426e26
Refactor queries for ecma based languages ( #7207 )
12 months ago
Alex Vinyals
28452e1f2a
Initialize log and config files right after parsing arguments ( #7585 )
12 months ago
Álan Crístoffer
550192826b
highlight(matlab): Better UTF-8 handling. ( #7532 )
12 months ago
Ryan Fowler
828c7432e3
Implement the wa! command ( #7577 )
12 months ago
Alex Vinyals
1698992de6
Fix `:log-open` when `--log` is specified ( #7573 )
12 months ago
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