Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | minor changes | Blaž Hrastnik | 2021-02-17 |
| | |||
* | ui: Redo selection rendering. | Blaž Hrastnik | 2021-02-17 |
| | |||
* | commands: tie in a simple :w for now. | Blaž Hrastnik | 2021-02-16 |
| | |||
* | Increase the log level in LSP and log server errors. | Blaž Hrastnik | 2021-02-16 |
| | |||
* | Update deps, switch tendril over to crates.io | Blaž Hrastnik | 2021-02-16 |
| | |||
* | Send updates to the lsp on undo/redo. | Blaž Hrastnik | 2021-02-16 |
| | |||
* | lsp: Test changeset_to_changes. | Blaž Hrastnik | 2021-02-16 |
| | |||
* | Optimize Changeset::is_empty() | Blaž Hrastnik | 2021-02-16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checked the ASM output for these three options: pub enum Operation { /// Move cursor by n characters. Retain(usize), /// Delete n characters. Delete(usize), /// Insert text at position. Insert(String), } pub struct A { changes: Vec<Operation>, len: usize, } impl A { pub fn is_empty1(&self) -> bool { match self.changes.as_slice() { [] => true, [Operation::Retain(_)] => true, _ => false, } } /// `true` when the set is empty. pub fn is_empty2(&self) -> bool { let len = self.changes.len(); len == 0 || ( len == 1 && self.changes[0] == Operation::Retain(self.len) ) } pub fn is_empty3(&self) -> bool { match self.changes.as_slice() { [] | [Operation::Retain(_)] => true, _ => false } } } | ||
* | Since insert preceedes deletes, follow that ordering in Transaction::changes. | Blaž Hrastnik | 2021-02-16 |
| | | | | Produces the same output but will take the happy path. | ||
* | Adjust LSP changeset generation too: insert now always preceedes delete. | Blaž Hrastnik | 2021-02-16 |
| | |||
* | transaction: Use builder methods to generate compact changesets. | Blaž Hrastnik | 2021-02-16 |
| | |||
* | transaction: Merge consecutive inserts on compose. | Blaž Hrastnik | 2021-02-15 |
| | |||
* | fix test | Blaž Hrastnik | 2021-02-15 |
| | |||
* | search: Barebones implementation. | Blaž Hrastnik | 2021-02-12 |
| | |||
* | flake: Update deps. | Blaž Hrastnik | 2021-02-12 |
| | |||
* | Finally: Retain horizontal position when moving vertically. | Blaž Hrastnik | 2021-02-12 |
| | |||
* | Parse input counts: 10w, etc. | Blaž Hrastnik | 2021-02-09 |
| | |||
* | Implement vertical split calculations. | Blaž Hrastnik | 2021-02-09 |
| | |||
* | popup: wip work on completion popups | Blaž Hrastnik | 2021-02-09 |
| | |||
* | deps update | Blaž Hrastnik | 2021-02-09 |
| | |||
* | commands: % as select_all. | Blaž Hrastnik | 2021-02-09 |
| | |||
* | Restore diagnostics. | Blaž Hrastnik | 2021-02-05 |
| | |||
* | simplify. | Blaž Hrastnik | 2021-02-05 |
| | |||
* | Work around rendering errors for positions offscreen. | Blaž Hrastnik | 2021-02-05 |
| | |||
* | Address clippy warnings. | Blaž Hrastnik | 2021-02-05 |
| | |||
* | A dumb "next view" implementation that works. | Blaž Hrastnik | 2021-02-04 |
| | |||
* | Forgot to add the tree.rs definition... | Blaž Hrastnik | 2021-02-04 |
| | |||
* | Update flake definition. | Blaž Hrastnik | 2021-02-04 |
| | |||
* | Fix statusline rendering, change colors on active view. | Blaž Hrastnik | 2021-02-04 |
| | |||
* | Correctly position the real terminal cursor. | Blaž Hrastnik | 2021-02-04 |
| | |||
* | Don't render selections/cursors on views not in focus. | Blaž Hrastnik | 2021-02-04 |
| | |||
* | View tree implementation: render multiple split views. | Blaž Hrastnik | 2021-02-03 |
| | | | | | Cursors are still a bit buggy and we should render in focus statusbar differently than in the other pane. | ||
* | commands: Implement select_on_matches. | Blaž Hrastnik | 2021-01-22 |
| | |||
* | commands: add W and B (extend selection by word). | Blaž Hrastnik | 2021-01-22 |
| | |||
* | commands: Simplify code further via Context::doc. | Blaž Hrastnik | 2021-01-21 |
| | |||
* | Refactoring: move language_servers into Editor, proper load for doc. | Blaž Hrastnik | 2021-01-21 |
| | |||
* | syntax: Stop compiling haskell, seems unmaintained and slowest to compile | Blaž Hrastnik | 2021-01-19 |
| | |||
* | nix: Fix execution errors regarding runtime C lib. | Blaž Hrastnik | 2021-01-19 |
| | |||
* | helix-syntax: Speed up compilation by compiling langs in parallel. | Blaž Hrastnik | 2021-01-19 |
| | |||
* | nix: Optimize for CPU. | Blaž Hrastnik | 2021-01-19 |
| | |||
* | nix: include rust-src so rust-analyzer works correctly. | Blaž Hrastnik | 2021-01-19 |
| | |||
* | Add a nix flake with the development environment. | Blaž Hrastnik | 2021-01-19 |
| | |||
* | indent: Fix edge cases, refactor test. | Blaž Hrastnik | 2021-01-10 |
| | |||
* | Bump deps. | Blaž Hrastnik | 2021-01-08 |
| | |||
* | Address clippy lints. | Blaž Hrastnik | 2021-01-08 |
| | |||
* | indent: refactor logic to be more correct. | Blaž Hrastnik | 2021-01-08 |
| | | | | | Thanks to atom-sane-indentation, nvim-treesitter and tree-sitter-indent.el for inspiration. | ||
* | lsp: Move timeouts into client.request | Blaž Hrastnik | 2021-01-06 |
| | |||
* | open_below is now indentation-aware. | Blaž Hrastnik | 2021-01-06 |
| | |||
* | lsp: buggy insert completion. | Blaž Hrastnik | 2021-01-06 |
| | |||
* | Update deps. | Blaž Hrastnik | 2021-01-06 |
| |