aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fix append mode, and make insertion always happen at head of range.Nathan Vegdahl2021-07-23
|
* Fix ocassional panic when matching brackets.Nathan Vegdahl2021-07-23
|
* Revert display-width-based vertical cursor movement.Nathan Vegdahl2021-07-22
| | | | Still needs to be done, but should be part of a separate PR.
* Calculate the line that the range head is on correctly.Nathan Vegdahl2021-07-22
|
* Use `Range::line_range()` in some more places I missed.Nathan Vegdahl2021-07-22
|
* Fix append mode not editing correctly.Nathan Vegdahl2021-07-21
| | | | | This is currently a bit of a hack, and still doesn't behave quite how we probably want. Left a TODO.
* Fix yank not working with internally zero-width ranges.Nathan Vegdahl2021-07-21
|
* Fix selections not being modified quite correctly with text edits.Nathan Vegdahl2021-07-21
|
* Don't insert a final line ending on file load/reload.Nathan Vegdahl2021-07-21
|
* Fixes for misc bugs with view movement.Nathan Vegdahl2021-07-21
|
* Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-20
|\
| * Fix typoIvan Tham2021-07-20
| |
| * Fixes toggle_comment not finding the correct language comment tokenLuctius2021-07-20
| |
| * Bump tokio from 1.8.1 to 1.8.2dependabot[bot]2021-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.8.1 to 1.8.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.8.1...tokio-1.8.2) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | Use new `Range::line_range()` method in more places, as appropriate.Nathan Vegdahl2021-07-20
| |
* | Fix comment toggle command also sometimes toggling the next line.Nathan Vegdahl2021-07-20
| |
* | Fix various bugs related to goto-end-of-line command.Nathan Vegdahl2021-07-20
| | | | | | | | | | This also fixes a bug with `Selection::normalize()`, that could result in an out-of-bounds primary index.
* | Fix line-wise `p` pasting before the current line instead of after.Nathan Vegdahl2021-07-20
| |
* | Fix incorrect line hihglight when a selection is at the end of a line.Nathan Vegdahl2021-07-20
| |
* | Make search work a little nicer when there are already selections.Nathan Vegdahl2021-07-20
| | | | | | | | | | | | Specifically, if you have text like "aaaaaaaaa" and you search for "a", the new behavior will actually progress through all of the "a"s, whereas the previous behavior would be stuck on a single one.
* | Fix `Selection::push()` to make the pushed range primary.Nathan Vegdahl2021-07-20
| | | | | | | | Apparently I accidentally deleted that behavior in the cleanup.
* | Fix extend line behavior.Nathan Vegdahl2021-07-20
| |
* | Handle edge case in `range_to_target()` correctly.Nathan Vegdahl2021-07-19
| |
* | Fixed primary cursor position calculation to use 1-width semantics.Nathan Vegdahl2021-07-19
| | | | | | | | | | This had a bunch of knock-on effects that were buggy, such as bracket match highlighting.
* | Properly fix `last_line` view calculation.Nathan Vegdahl2021-07-19
| | | | | | | | | | Turned out to be simpler than I thought. Didn't even need to change the other use-sites.
* | Fix last line number being drawn in the status bar.Nathan Vegdahl2021-07-19
| |
* | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-19
|\|
| * Calculate completion popup sizingBlaž Hrastnik2021-07-19
| | | | | | | | Fixes #220
| * Remove ExactSizeIterator requirement on Transaction::changeBlaž Hrastnik2021-07-19
| | | | | | | | Size hint is enough.
| * Made toggle_comments language dependent (#463)Cor Peters2021-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | * Made toggle_comments language dependent * Fixed Test Cases * Added clippy suggestion * Small Fixes * Clippy Suggestion Co-authored-by: Cor <prive@corpeters.nl>
| * Added option to provide a custom config file to the lsp. (#460)Cor Peters2021-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added option to provide a custom config file to the lsp. * Simplified lsp loading routine with anyhow * Moved config to language.toml * Fixed test case * Cargo fmt * Revert now-useless changes * Renamed custom_config to config Co-authored-by: Cor <prive@corpeters.nl>
* | Update word selection/navigation to work with gap indexing.Nathan Vegdahl2021-07-19
| | | | | | | | | | | | Also tweaked some of the existing behavior that seemed inconsistent and/or buggy. It's mostly identical, just a few corner cases are different.
* | Update extend_line command to work with gap indexing.Nathan Vegdahl2021-07-17
| |
* | Update change-case commands to work with gap indexing.Nathan Vegdahl2021-07-17
| |
* | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-17
|\|
| * action: copy grammar libraries to runtimekabirz2021-07-17
| |
| * Changed startup behaviour to only open a single view when multiple files are ↵Cor2021-07-17
| | | | | | | | | | | | specified on the commandline. Changed the behaviour; the first argument on the commandline is the file on display
| * Make instructions regarding runtime clearerBlaž Hrastnik2021-07-17
| |
| * Added change_case command (#441)Cor Peters2021-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added change_case command * Added switch_to_uppercase and switch_to_lowercase Renamed change_case to switch_case. * Updated the Keymap section of the Book * Use flat_map instead of map + flatten * Fix switch_to_uppercase using to_lowercase * Switched 'Alt-`' to uppercase and '`' to lowercase Co-authored-by: Cor <prive@corpeters.nl>
| * Removed double entry of extend_lineCor2021-07-15
| |
| * Fix #442 (#446)Kirawi2021-07-15
| | | | | | | | | | | | | | | | | | | | | | * fix #442 fix #442 fmt * create Rope from default line ending * Fix use of encoding in Document::open()
| * Update dark_plus.tomlKirawi2021-07-15
| | | | | | Didn't realize what `ui.statusline.active` was for. It's needed for view splits.
| * Build ts/tsx again, refactor collect_tree_sitter_dirsBlaž Hrastnik2021-07-14
| |
| * Fix number highlightingBlaž Hrastnik2021-07-14
| |
| * Build each grammar in it's own src dirBlaž Hrastnik2021-07-14
| | | | | | | | | | Windows places temporary files in the current dir, so compiling in parallel caused conflicts.
| * Try to rearrange the file order?Blaž Hrastnik2021-07-14
| |
| * windows: Try building inside OUT_DIR?Blaž Hrastnik2021-07-14
| |
| * Dynamically load grammar libraries at runtimeBlaž Hrastnik2021-07-14
| |
| * Bump anyhow from 1.0.41 to 1.0.42dependabot[bot]2021-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.41 to 1.0.42. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.41...1.0.42) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
| * Bump cc from 1.0.68 to 1.0.69dependabot[bot]2021-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.68 to 1.0.69. - [Release notes](https://github.com/alexcrichton/cc-rs/releases) - [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.68...1.0.69) --- updated-dependencies: - dependency-name: cc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>