Commit graph

  • 350081a3af Fix crash if pressing enter when nothing selected in completion. Blaž Hrastnik 2021-03-24 18:15:42 +0900
  • 8657c57cf2 Trivial jumplist implementation. Blaž Hrastnik 2021-03-24 18:01:26 +0900
  • 4b176caded Reset first_line when changing files. Blaž Hrastnik 2021-03-24 16:56:29 +0900
  • 915fd9ebaf Restore buffer_picker. Blaž Hrastnik 2021-03-24 16:26:53 +0900
  • 376232c543 add some TODOs Blaž Hrastnik 2021-03-24 15:00:41 +0900
  • 06aca7691c clippy lint Blaž Hrastnik 2021-03-24 14:52:13 +0900
  • 8a0ab447ec editor.open can now either replace the current view or open in a split. Blaž Hrastnik 2021-03-24 14:28:26 +0900
  • b24cdd1295 Derive a separate ViewId type. Blaž Hrastnik 2021-03-24 14:03:20 +0900
  • 8328fe926d Drop refcell use, make view simply ref doc.id. Blaž Hrastnik 2021-03-23 17:47:40 +0900
  • 3f9a94fd43 ui: markdown: remove trailing blank line. Blaž Hrastnik 2021-03-22 23:23:51 +0900
  • d0530fb839 Fix a scrolling crash where it would jump past the end of the buffer. Blaž Hrastnik 2021-03-22 18:06:52 +0900
  • 73c92a0bc1 Implement m / match_brackets (using tree sitter). Blaž Hrastnik 2021-03-22 17:58:49 +0900
  • bd607b4cbd Provide a capacity on Selection::new's normalize. Blaž Hrastnik 2021-03-22 14:50:08 +0900
  • df306fe031 Implement open_above (O). Blaž Hrastnik 2021-03-20 00:16:34 +0900
  • 42d07b0621 Implement replace command (r<key>). Blaž Hrastnik 2021-03-19 18:01:08 +0900
  • bf95ee27aa Store Document on the Editor type, make View reference it. Blaž Hrastnik 2021-03-16 18:27:57 +0900
  • 5e6716c89c Add tab_width and indent_unit config. Blaž Hrastnik 2021-03-22 13:47:39 +0900
  • 698e4ddea4 clippy: Factor out a Completion type. Blaž Hrastnik 2021-03-22 13:16:56 +0900
  • cbcacb1063 Merge some imports. Blaž Hrastnik 2021-03-22 12:40:07 +0900
  • c4792efead clippy lints Blaž Hrastnik 2021-03-22 12:26:04 +0900
  • 798dbd27c5 Selection: fail early if new() is called with no ranges. Blaž Hrastnik 2021-03-22 12:21:33 +0900
  • 71999cce43 Implement auto-pairs behavior for open and close. Blaž Hrastnik 2021-03-22 12:18:48 +0900
  • a32806b490 Improve completion: src/<tab> will now correctly complete to src/main.rs Blaž Hrastnik 2021-03-21 14:13:49 +0900
  • f29f01858d Implement iter() and len() directly on Selection. Blaž Hrastnik 2021-03-19 11:14:13 +0900
  • e9bd9e72c3 Pos conversions always operate on whole documents. Blaž Hrastnik 2021-03-18 15:23:42 +0900
  • 175d38c88c toggle_comments needs to append to history. Blaž Hrastnik 2021-03-18 15:20:28 +0900
  • c331721565 Finish hiding doc.state / State as an implementation detail. Blaž Hrastnik 2021-03-18 15:07:02 +0900
  • 8ba1e15d29 Expose doc.syntax() via accessor. Blaž Hrastnik 2021-03-18 14:48:42 +0900
  • 2b64f49f2c Document::new should just take a rope. Blaž Hrastnik 2021-03-18 14:44:32 +0900
  • e261f3c50d Expose doc.language_server as an accessor. Blaž Hrastnik 2021-03-18 14:40:22 +0900
  • 5237084d98 Don't publicly re-export once_cell in lsp. Blaž Hrastnik 2021-03-18 14:29:38 +0900
  • 59e6024186 Remove State from a few more signatures. Blaž Hrastnik 2021-03-18 13:45:57 +0900
  • dbcc099f48 Move things out of state.rs. Blaž Hrastnik 2021-03-18 13:39:34 +0900
  • 0f6624491b Fix completion panicking if text changed before insert completed. Blaž Hrastnik 2021-03-18 13:28:42 +0900
  • 8eaf9a432d Make Transaction::change only rely on the rope. Blaž Hrastnik 2021-03-18 13:28:27 +0900
  • 51c15da3c3 Hold a reference to executor on the Editor type. Blaž Hrastnik 2021-03-16 23:14:51 +0900
  • 8dc0b18e35
    Merge pull request #8 from helix-editor/gd Blaž Hrastnik 2021-03-16 23:09:04 +0900
  • e3ec5e31ec Fix goto code before merging. Blaž Hrastnik 2021-03-16 23:05:43 +0900
  • eadad13efa preparing for gd merge Jan Hrastnik 2021-03-16 13:55:12 +0100
  • 4e461bea2f editor.open now checks if view already exists Jan Hrastnik 2021-03-15 21:12:41 +0100
  • 0828d1fdea picker wip Jan Hrastnik 2021-03-14 22:24:46 +0100
  • 15f142bc4b lsp: Use into_iter->map->collect instead of manual loop. Blaž Hrastnik 2021-03-11 13:19:53 +0900
  • 857763c52e term: Remove stray files. Blaž Hrastnik 2021-03-11 13:16:50 +0900
  • cf71625d4e term: Simplify goto code, address lints. Blaž Hrastnik 2021-03-11 13:15:25 +0900
  • 4240f757c0 lsp: Fix compilation errors. Blaž Hrastnik 2021-03-11 13:01:28 +0900
  • a5f9080a9c goto_request wip Jan Hrastnik 2021-03-10 23:35:12 +0100
  • 3869d7713e added goto functions in helix-term Jan Hrastnik 2021-03-07 19:41:49 +0100
  • b738ae1bc7 more goto lsp functions Jan Hrastnik 2021-03-02 23:57:18 +0100
  • 294791dffd added picker for gd, but yet to test it. also need to load appropriate file when definition isnt in same file Jan Hrastnik 2021-02-28 00:39:13 +0100
  • 0322c28e6b gd now works for singular definition Jan Hrastnik 2021-02-23 23:56:06 +0100
  • 18ec8adc7f Simplify code a bit. Blaž Hrastnik 2021-02-22 12:12:56 +0900
  • 8a68a04340 gotodefiniton now runs but doesnt return anything Jan Hrastnik 2021-02-21 23:43:28 +0100
  • d3ddc8dea6 wip Jan Hrastnik 2021-02-21 23:22:38 +0100
  • d8599f3a14 ui: Syntax highlight code inside markdown popups. Blaž Hrastnik 2021-03-16 16:38:09 +0900
  • 54a7e893b7 lsp: Wire up didClose notification on editor.close. Blaž Hrastnik 2021-03-16 16:20:43 +0900
  • eca2a73ad0 lsp: Pass through language_id on didOpenTextDocument. Blaž Hrastnik 2021-03-16 16:13:41 +0900
  • 143cfe13e0 minor: TODO comment cleanup Blaž Hrastnik 2021-03-16 15:30:29 +0900
  • 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