Commit graph

  • 4102992c46 Bump deps. Blaž Hrastnik 2021-03-01 14:33:02 +0900
  • ec4dd0a176 Add a selection mode again. Blaž Hrastnik 2021-03-01 14:31:34 +0900
  • 00808afe3c ui: Make editor more resilient about being shrunk too small. Blaž Hrastnik 2021-03-01 14:23:10 +0900
  • 2c9b02039b commands: Implement join_selections. Blaž Hrastnik 2021-02-26 17:21:59 +0900
  • 6336c1da20 view: Reposition cursors on tree resize. Blaž Hrastnik 2021-02-26 15:53:19 +0900
  • ad58286dc7 graphemes: fix nth_prev_grapheme_boundary calculation. Blaž Hrastnik 2021-02-26 15:53:01 +0900
  • 1ae7c43391 commands: = as range formatting (via lsp) Blaž Hrastnik 2021-02-26 15:52:43 +0900
  • 7162632eb7 lsp: Hover documentation draft. Blaž Hrastnik 2021-02-25 18:07:47 +0900
  • 8289bd1cb0 minor, fix clippy lint Blaž Hrastnik 2021-02-25 16:52:32 +0900
  • 01907b3497 commands: Implement count for a few more commands. Blaž Hrastnik 2021-02-24 17:29:28 +0900
  • 5fa1ba6b1c commands: refactor open_below to support count. Blaž Hrastnik 2021-02-25 16:47:37 +0900
  • 6bd16a7320 graphemes: Optimize nth_next/nth_prev operation. Blaž Hrastnik 2021-02-24 17:12:44 +0900
  • f118e7580f Improve coords_at_pos & pos_at_coords, test with graphemes. Blaž Hrastnik 2021-02-24 16:08:17 +0900
  • 87a6d4e736 minor: Simplify some code. Blaž Hrastnik 2021-02-24 16:07:39 +0900
  • c6456d04b9 syntax: Drop the rayon dependency for threadpool. Blaž Hrastnik 2021-02-24 13:13:49 +0900
  • 41c0d5828f flake: Packaging definition. Blaž Hrastnik 2021-02-22 17:02:59 +0900
  • def949e509 open_below: drop redundant collect/into_iter. Blaž Hrastnik 2021-02-22 17:01:57 +0900
  • 6cfb1acb9d commands: Implement expand_selection. Blaž Hrastnik 2021-02-22 15:50:41 +0900
  • 33c67f1388 commands: add * as selection search. Blaž Hrastnik 2021-02-22 15:14:02 +0900
  • 61ce2c9cfe lsp: Disable snippet_support until we implement it. Blaž Hrastnik 2021-02-22 14:42:12 +0900
  • 004a4f37a7 lsp: Handle responses being returned after request timed out. Blaž Hrastnik 2021-02-22 12:42:56 +0900
  • 8b9b02f08b minor Blaž Hrastnik 2021-02-22 12:06:28 +0900
  • 3b6c9648f3 fix clippy lint Blaž Hrastnik 2021-02-22 11:43:57 +0900
  • 5096bdad33 completion: Use the language server bound to the document. Blaž Hrastnik 2021-02-22 11:42:47 +0900
  • 9132c6a591 Make some Document fields read-only. Blaž Hrastnik 2021-02-21 19:47:21 +0900
  • 7da6bd6a71 commands: Simplify some code, only calling cx.doc() once. Blaž Hrastnik 2021-02-21 19:04:31 +0900
  • 7877647cf0 Allow closing individual views. Blaž Hrastnik 2021-02-19 17:46:43 +0900
  • 1e1dae1c11 Remove unused method. Blaž Hrastnik 2021-02-19 16:49:10 +0900
  • 3f6f82b0c4 Always store the log file under home dir. Blaž Hrastnik 2021-02-19 16:48:51 +0900
  • 8c82f8f140 indent: use_list indentation, fix indentation bug on open_below Blaž Hrastnik 2021-02-19 14:55:53 +0900
  • 7a1ff5e45f commands: Wire up toggle comments as ctrl-c Blaž Hrastnik 2021-02-19 13:59:24 +0900
  • 4ab5631d65 more lints Blaž Hrastnik 2021-02-18 18:45:41 +0900
  • 0827c45d94 view: Disable tree.fullscreen for now to appease clippy. Blaž Hrastnik 2021-02-18 18:36:24 +0900
  • d0791e0f98 core: Implement comment toggling module. Blaž Hrastnik 2021-02-18 18:35:39 +0900
  • c9dd1c930e treewide: &RopeSlice -> RopeSlice. It's Copy so no reason to pass by ref Blaž Hrastnik 2021-02-18 18:34:22 +0900
  • bd85460698 Bump jsonrpc-core, lsp-types. Blaž Hrastnik 2021-02-18 14:10:52 +0900
  • af55ebd002 transaction: Also modify map_pos to work with insert|delete order. Blaž Hrastnik 2021-02-18 12:17:33 +0900
  • d5f9622e2e lsp: edit events change ranges need to affect each other. Blaž Hrastnik 2021-02-17 17:28:55 +0900
  • 9cac44c7c0 minor changes Blaž Hrastnik 2021-02-17 14:41:43 +0900
  • 8e1a59c140 ui: Redo selection rendering. Blaž Hrastnik 2021-02-17 14:41:14 +0900
  • c408e7e01a commands: tie in a simple :w for now. Blaž Hrastnik 2021-02-16 18:23:44 +0900
  • 48ef6598db Increase the log level in LSP and log server errors. Blaž Hrastnik 2021-02-15 21:16:25 +0900
  • d8bc19f715 Update deps, switch tendril over to crates.io Blaž Hrastnik 2021-02-15 18:45:48 +0900
  • 1ffd1e7633 Send updates to the lsp on undo/redo. Blaž Hrastnik 2021-02-15 18:45:36 +0900
  • b7da7f83c3 lsp: Test changeset_to_changes. Blaž Hrastnik 2021-02-16 15:39:41 +0900
  • 9821c4dd3b Optimize Changeset::is_empty() Blaž Hrastnik 2021-02-16 13:37:58 +0900
  • b0b5451c38 Since insert preceedes deletes, follow that ordering in Transaction::changes. Blaž Hrastnik 2021-02-16 11:09:05 +0900
  • 0541fbb85f Adjust LSP changeset generation too: insert now always preceedes delete. Blaž Hrastnik 2021-02-16 11:08:06 +0900
  • b4312c9492 transaction: Use builder methods to generate compact changesets. Blaž Hrastnik 2021-02-16 11:03:36 +0900
  • 19fb4ed835 transaction: Merge consecutive inserts on compose. Blaž Hrastnik 2021-02-16 00:15:49 +0900
  • 65893a2cbc fix test Blaž Hrastnik 2021-02-16 00:15:38 +0900
  • 83d48f10ea search: Barebones implementation. Blaž Hrastnik 2021-02-12 18:10:05 +0900
  • 6dba0516f2 flake: Update deps. Blaž Hrastnik 2021-02-12 18:09:45 +0900
  • 239db79834 Finally: Retain horizontal position when moving vertically. Blaž Hrastnik 2021-02-12 16:49:24 +0900
  • de5170dcda Parse input counts: 10w, etc. Blaž Hrastnik 2021-02-09 16:39:17 +0900
  • 5e73f83efa Implement vertical split calculations. Blaž Hrastnik 2021-02-09 15:59:42 +0900
  • d4b85ce18d popup: wip work on completion popups Blaž Hrastnik 2021-02-09 15:40:30 +0900
  • 755632f231 deps update Blaž Hrastnik 2021-02-09 15:39:52 +0900
  • 30d1b7098f commands: % as select_all. Blaž Hrastnik 2021-02-09 15:39:26 +0900
  • f2c2fa0cad Restore diagnostics. Blaž Hrastnik 2021-02-05 17:50:31 +0900
  • a924ad2885 simplify. Blaž Hrastnik 2021-02-05 16:06:48 +0900
  • c70080dd68 Work around rendering errors for positions offscreen. Blaž Hrastnik 2021-02-05 14:42:56 +0900
  • 8f0ddf9632 Address clippy warnings. Blaž Hrastnik 2021-02-05 11:43:16 +0900
  • 9c33b5340a A dumb "next view" implementation that works. Blaž Hrastnik 2021-02-04 19:49:29 +0900
  • 5554910e08 Forgot to add the tree.rs definition... Blaž Hrastnik 2021-02-04 17:26:11 +0900
  • 4b2b62ebc6 Update flake definition. Blaž Hrastnik 2021-02-04 17:25:54 +0900
  • a81b8f3e42 Fix statusline rendering, change colors on active view. Blaž Hrastnik 2021-02-04 17:24:33 +0900
  • a014787ee8 Correctly position the real terminal cursor. Blaž Hrastnik 2021-02-04 16:50:16 +0900
  • 446a7e5743 Don't render selections/cursors on views not in focus. Blaž Hrastnik 2021-02-04 16:49:55 +0900
  • 448c1abba0 View tree implementation: render multiple split views. Blaž Hrastnik 2021-02-03 19:36:54 +0900
  • 2bea5db7bd commands: Implement select_on_matches. Blaž Hrastnik 2021-01-22 17:13:14 +0900
  • a702af0aeb commands: add W and B (extend selection by word). Blaž Hrastnik 2021-01-22 16:31:49 +0900
  • d9fb60e301 commands: Simplify code further via Context::doc. Blaž Hrastnik 2021-01-21 17:00:08 +0900
  • 05c7fb98df Refactoring: move language_servers into Editor, proper load for doc. Blaž Hrastnik 2021-01-21 16:55:46 +0900
  • 15dd7ca6d8 syntax: Stop compiling haskell, seems unmaintained and slowest to compile Blaž Hrastnik 2021-01-19 16:57:19 +0900
  • 240f3a6cc4 nix: Fix execution errors regarding runtime C lib. Blaž Hrastnik 2021-01-19 16:52:19 +0900
  • 22fe2ebe72 helix-syntax: Speed up compilation by compiling langs in parallel. Blaž Hrastnik 2021-01-19 16:51:58 +0900
  • d5db892902 nix: Optimize for CPU. Blaž Hrastnik 2021-01-19 16:19:27 +0900
  • 7c99ff58fd nix: include rust-src so rust-analyzer works correctly. Blaž Hrastnik 2021-01-19 16:16:15 +0900
  • f1539cc866 Add a nix flake with the development environment. Blaž Hrastnik 2021-01-19 15:54:51 +0900
  • 22e1692adc indent: Fix edge cases, refactor test. Blaž Hrastnik 2021-01-10 23:46:18 +0900
  • 5ec9b4329b Bump deps. Blaž Hrastnik 2021-01-08 16:44:10 +0900
  • 777a80917d Address clippy lints. Blaž Hrastnik 2021-01-08 16:31:19 +0900
  • 7d41550a23 indent: refactor logic to be more correct. Blaž Hrastnik 2021-01-08 16:15:12 +0900
  • 941c34a7fc lsp: Move timeouts into client.request Blaž Hrastnik 2021-01-06 17:48:14 +0900
  • b2800489de open_below is now indentation-aware. Blaž Hrastnik 2021-01-06 15:13:45 +0900
  • 8b95c3353b lsp: buggy insert completion. Blaž Hrastnik 2021-01-06 14:30:33 +0900
  • 3bf4e1e8fa Update deps. Blaž Hrastnik 2021-01-06 14:08:23 +0900
  • 6ec0f8e80f completion: Don't panic on timeout/no result, just do nothing. Blaž Hrastnik 2021-01-06 13:44:29 +0900
  • 3cbab20908 lsp: Fix pos_to_lsp_pos calculation. Blaž Hrastnik 2020-12-25 17:42:50 +0900
  • 2ab069bb3f lsp: Work on syncing the state with the language server. Blaž Hrastnik 2020-12-25 17:20:09 +0900
  • cd16df19c1 lsp: generate_transaction_from_text_edits Blaž Hrastnik 2020-12-23 17:03:20 +0900
  • 56f2193811 Retrieve completion options on ctrl-x. Blaž Hrastnik 2020-12-23 16:20:49 +0900
  • 955cb81687 Init lsp through the registry. Blaž Hrastnik 2020-12-23 15:50:16 +0900
  • c8424c6ff0 lsp: Re-enable hooks. Blaž Hrastnik 2020-12-22 16:58:00 +0900
  • d61b4854b8 Make sure to clear the whole screen with the background color. Blaž Hrastnik 2020-12-22 16:48:34 +0900
  • 4749b39b88 . Blaž Hrastnik 2020-12-22 16:32:15 +0900
  • 47e282804d buffer picker: Mark current view with (*) Blaž Hrastnik 2020-12-21 17:58:54 +0900
  • 3d3295bb75 ui: buffer picker on ctrl-b Blaž Hrastnik 2020-12-21 16:23:05 +0900
  • ea502c8665 fix change -> change -> undo -> change -> undo -> undo. Blaž Hrastnik 2020-12-21 13:58:54 +0900