Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add ctrl-w in insert mode | Ivan Tham | 2021-06-06 |
| | | | | | It seemed to panic when I pressed too many times, but that is from lsp side. | ||
* | Return an error if we request an embedded file that does not exist. | Brian Dawn | 2021-06-06 |
| | | | | | This makes the load_runtime_file function behave like the non-embedded one. | ||
* | Add a smoke test around loading runtime files. | Brian Dawn | 2021-06-06 |
| | | | | This test makes sure we can read some amount of data from the runtime folder. | ||
* | Simplify the load_runtime_file code. | Brian Dawn | 2021-06-06 |
| | | | | Reduce the number of feature switches for the embed_runtime feature. | ||
* | Simplify creating pathbufs. | Brian Dawn | 2021-06-06 |
| | | | Co-authored-by: Ivan Tham <pickfire@riseup.net> | ||
* | Apply suggestions from code review | Brian Dawn | 2021-06-06 |
| | | | | Co-authored-by: Ivan Tham <pickfire@riseup.net> | ||
* | Make rust-embed optionally included based on the embed_runtime feature. | Brian Dawn | 2021-06-06 |
| | |||
* | Provide a feature flag to be able to embed the runtime folder. | Brian Dawn | 2021-06-06 |
| | | | | | | These changes provide a new feature flag "embed_runtime" that when enabled and built in release mode will embed the runtime folder into the resulting binary. | ||
* | fix: make find_prev_char and till_prev_char work | ahkrr | 2021-06-05 |
| | | | | | | Bevore this PR `commands::find_prev_char` and `commands::till_prev_char` were triggerable through keys but `seach::find_nth_next()` was hardcoded in `_find_char`. The passed `fn` was nerver used. With this PR the passed `fn` is used. The change in search.rs resolves an off by one error in the behivor of `find_nth_prev` | ||
* | Add unreachable context | Ivan Tham | 2021-06-05 |
| | | | Better error for #123 | ||
* | Don't panic on empty file/buffer (#108) | notoria | 2021-06-05 |
| | |||
* | Fixing Multiple Panics (#121) | Kirawi | 2021-06-05 |
| | | | | | | | * init * wip * wip | ||
* | Try to detect language when document file path is set | Blaž Hrastnik | 2021-06-04 |
| | | | | Fixes #91 | ||
* | Remove swapfile | notoria | 2021-06-04 |
| | |||
* | Convert byte index to char index for `find` | notoria | 2021-06-04 |
| | |||
* | Merge pull request #77 from notoria/match_brackets | Blaž Hrastnik | 2021-06-03 |
|\ | | | | | Fix match_brackets::find | ||
| * | Fix match_brackets::find | notoria | 2021-06-03 |
| | | |||
* | | Default log file to cache | Ivan Tham | 2021-06-03 |
|/ | |||
* | Separate document history into Cell | Ivan Tham | 2021-06-02 |
| | | | | | As history is used separately from the rest of the edits, separating it can avoid needless borrowing and cloning. But one need to be aware later. | ||
* | Better fix for w/e that also covers `ia<esc>we`/`ia<esc>wb` | Blaž Hrastnik | 2021-06-02 |
| | |||
* | f/t: Check if at bounds before searching, refs #43, closes #37 | Blaž Hrastnik | 2021-06-02 |
| | |||
* | Fix panics when triggering w or e on the last char of the line | Blaž Hrastnik | 2021-06-02 |
| | | | | Closes #32 | ||
* | fix: Don't allow moving past last line, fixes #30, #24 | Blaž Hrastnik | 2021-06-02 |
| | | | | Off by 1 error | ||
* | Categorize _ as a word char, not punctuation | Blaž Hrastnik | 2021-05-31 |
| | |||
* | Allow moving to EOL byte, also fixes #15 | Blaž Hrastnik | 2021-05-31 |
| | |||
* | Drop clap for pico-args | Blaž Hrastnik | 2021-05-31 |
| | | | | | We barely have any flags so it's not worth the compilation time or binary size to use clap. | ||
* | Update architecture.md | Blaž Hrastnik | 2021-05-30 |
| | |||
* | Update deps, introduce the new tree-sitter lifetimes | Blaž Hrastnik | 2021-05-27 |
| | |||
* | When calculating a new selection, we need to take newly inserted text into ↵ | Blaž Hrastnik | 2021-05-15 |
| | | | | account. | ||
* | Hacky way to specify indent scopes per language via toml configs. | Blaž Hrastnik | 2021-05-14 |
| | | | | | | | | | Can't do it via a scm query nicely because it returns an iterator over all the matches, whereas we want to traverse the tree ourselves. Can't extract the pattern data from a parsed query either. Oh well, toml files for now. | ||
* | Add the LICENSE file. | Blaž Hrastnik | 2021-05-10 |
| | |||
* | Fix indent test, we need to use the in-tree runtime dir. | Blaž Hrastnik | 2021-05-10 |
| | |||
* | Fix runtime dir lookup. | Blaž Hrastnik | 2021-05-10 |
| | |||
* | Make the config dir locator work on Windows. | Blaž Hrastnik | 2021-05-10 |
| | |||
* | Determine runtime dir based on executable location or env override. | Blaž Hrastnik | 2021-05-09 |
| | |||
* | Indent array and tuple lists too. | Blaž Hrastnik | 2021-05-09 |
| | |||
* | Lint | Blaž Hrastnik | 2021-05-09 |
| | |||
* | Add the :new command, don't crash if saving without filename. | Blaž Hrastnik | 2021-05-07 |
| | |||
* | Implement pair expansion when pressing new line between bracket pairs. | Blaž Hrastnik | 2021-05-06 |
| | | | | | | | | | | From: {|} To: { | } | ||
* | clippy lint | Blaž Hrastnik | 2021-05-06 |
| | |||
* | doc: Be smarter about calculating modified status. | Blaž Hrastnik | 2021-05-03 |
| | | | | This way edit -> undo will properly show up as unmodified. | ||
* | auto_pairs: move if cursor, extend if selection. | Blaž Hrastnik | 2021-04-22 |
| | |||
* | And some more indent patterns. | Blaž Hrastnik | 2021-04-14 |
| | |||
* | Rust: add a few more scopes to indent. | Blaž Hrastnik | 2021-04-14 |
| | |||
* | Simplify calculate_indentation. | Blaž Hrastnik | 2021-04-14 |
| | |||
* | Fix overlap calculation. | Blaž Hrastnik | 2021-04-10 |
| | |||
* | N as extend with search (for now, N should be search_prev). | Blaž Hrastnik | 2021-04-09 |
| | |||
* | Fix range.overlap() | Blaž Hrastnik | 2021-04-09 |
| | |||
* | Remove the path specifier. | Blaž Hrastnik | 2021-04-09 |
| | |||
* | Import tree sitter queries. | Blaž Hrastnik | 2021-04-08 |
| |