Commit Graph

  • 4f77d80e74 Clippy lint Blaž Hrastnik 2021-03-16 13:51:22 +0900
  • 081e0ae8ae syntax: highlight_iter always returns Ok() Blaž Hrastnik 2021-03-16 13:49:22 +0900
  • 71f899cb5b syntax: Highlight using ropes, avoiding dumping whole doc to string. Blaž Hrastnik 2021-03-16 13:45:32 +0900
  • 80eca5c32f ui: Use parsed markdown contents to determine sizing. Blaž Hrastnik 2021-03-15 17:55:13 +0900
  • f9b9bc04cc ui: Account for padding on markdown renderer. Blaž Hrastnik 2021-03-15 17:23:42 +0900
  • eea339545c Add command for keeping only the primary selection. Blaž Hrastnik 2021-03-15 17:13:36 +0900
  • dd91090a1a Implement keep_selections (filter selections on regex). Blaž Hrastnik 2021-03-15 17:09:18 +0900
  • 872d770753 ui: Restrain diagnostic sidebar w/h based on available area. Blaž Hrastnik 2021-03-15 16:25:04 +0900
  • 87e3cd3df2 ui: Render diagnostic errors in sideline. Blaž Hrastnik 2021-03-15 16:19:31 +0900
  • 1abf2953cd Bump deps. Blaž Hrastnik 2021-03-15 16:19:04 +0900
  • 9c55b3e306 state.rs cleanup Blaž Hrastnik 2021-03-15 14:40:15 +0900
  • bb87b08fc9 Configure language servers via LanguageConfiguration. Blaž Hrastnik 2021-03-14 17:13:55 +0900
  • 1cf887dea9 Cleanup: use doc.selection() instead of doc.state.selection(). Blaž Hrastnik 2021-03-14 10:04:03 +0900
  • 3445abf88e syntax: Hide the TSParser internally, borrowing when needed. Blaž Hrastnik 2021-03-13 11:06:02 +0900
  • 6cbfb050e2 lsp: Emit didSave notifications. Blaž Hrastnik 2021-03-12 16:20:56 +0900
  • b7dd7310c4 syntax: Reuse parser instances. highlight_iter() no longer needs &mut. Blaž Hrastnik 2021-03-12 14:46:23 +0900
  • 9dcfe25e4a Use diagnostic.severity to distinguish between error colors. Blaž Hrastnik 2021-03-11 16:31:49 +0900
  • c7ccb432ef pass clippy lint Blaž Hrastnik 2021-03-11 16:15:54 +0900
  • 4acf301022 Implement the f/t/F/T find/till family of commands. Blaž Hrastnik 2021-03-11 16:14:52 +0900
  • 62c991230f find-till (f) prototype, on_next_key mode implementation. Blaž Hrastnik 2021-03-11 10:44:38 +0900
  • 90f9cd6d62 search: draft f/t Blaž Hrastnik 2021-03-10 17:50:46 +0900
  • 8fe4590666 ui: popup: scroll documentation popups with c-u/c-d. Blaž Hrastnik 2021-03-08 17:32:13 +0900
  • ddcf5156c0 ui: menu: Adjust scroll via required_size area caching. Blaž Hrastnik 2021-03-08 17:13:45 +0900
  • 5ea610c41d ui: Move terminal into compositor, redo required_size hints. Blaž Hrastnik 2021-03-08 17:00:32 +0900
  • 05aa0d6991 minor: dead code Blaž Hrastnik 2021-03-05 17:55:06 +0900
  • 1d42b95915 ui: wip: Markdown doc renderer. Blaž Hrastnik 2021-03-05 16:07:46 +0900
  • a5c4314940 commands: Improve scroll functions. Blaž Hrastnik 2021-03-04 16:13:26 +0900
  • 565fb94afe commands: Correct another case that always used primary(). Blaž Hrastnik 2021-03-04 14:12:19 +0900
  • 7e4830215e commands: w/b/e need to apply to all selections. Blaž Hrastnik 2021-03-04 14:07:35 +0900
  • dd6db43013 ui: Adjust selection colors. Blaž Hrastnik 2021-03-03 17:56:22 +0900
  • 4c6611f96b commands: Stop select_regex from breaking when no matches. Blaž Hrastnik 2021-03-03 17:55:56 +0900
  • a21d96e729 ui: Scrollable popup menu, with scrollbar indicator. Blaž Hrastnik 2021-03-03 17:28:50 +0900
  • 513effd972 ui: unsafe theme_ref is no longer needed. Blaž Hrastnik 2021-03-03 12:35:57 +0900
  • 6238be230f Update tree-sitter grammars. Blaž Hrastnik 2021-03-02 18:32:03 +0900
  • 8b2cbb53fd minor: fix hover key Blaž Hrastnik 2021-03-02 18:25:47 +0900
  • bd0f6c1dfc clippy lint Blaž Hrastnik 2021-03-02 18:25:40 +0900
  • 0b85c16be9 ui: Share popup code with menu. Blaž Hrastnik 2021-03-02 18:24:24 +0900
  • 11c4e0b053 ui: Calculate popup rendering and sizing. Blaž Hrastnik 2021-03-02 17:58:15 +0900
  • 8f4ff4c646 editor: We still want to be able to calculate cursor pos. Blaž Hrastnik 2021-03-02 15:44:09 +0900
  • 32f9a2d1d6 add missing fn Blaž Hrastnik 2021-03-01 18:19:08 +0900
  • 857bce0e30 ui: Rework command mode, implement file path completion. Blaž Hrastnik 2021-03-01 18:02:31 +0900
  • a16c6e2585 clippy lints Blaž Hrastnik 2021-03-01 17:37:31 +0900
  • 2088c45075 commands: Implement X as extend line. Blaž Hrastnik 2021-03-01 14:41:02 +0900
  • 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