aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
Commit message (Collapse)AuthorAge
* Provide a single gutter component that does breakpoint || diagnosticBlaž Hrastnik2021-11-30
|
* dap: Prevent crashes on files with no name or breakpointsBlaž Hrastnik2021-11-30
|
* dap: Extract diagnostics gutter into gutters.rsBlaž Hrastnik2021-11-30
|
* dap: Rewrite breakpoints so that there's a single set maintainedBlaž Hrastnik2021-11-30
|
* Pass editor into render_view & gutter, reducing the number of paramsBlaž Hrastnik2021-11-30
|
* Merge remote-tracking branch 'origin/master' into debugBlaž Hrastnik2021-11-30
|\
| * Extract gutters into helix-viewBlaž Hrastnik2021-11-29
| |
| * Gutter functionsBlaž Hrastnik2021-11-29
| |
| * Detect filetype on :write (#1141)RustyStriker2021-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #1136 * removed a log::info * removed temp.rs * cargo clippy no longer complains * new get_lang_server function * get_lang_server is now launch_language_server * launch_lang_server will now close the previous one * better code readability * remove resfresh_ls(and a wrong comment)
| * Simplify some code in editor.rsBlaž Hrastnik2021-11-26
| |
| * Optimize space for DocumentId with NonZeroUsize (#1097)Ivan Tham2021-11-25
| | | | | | Now Option<DocumentId> uses one byte rather than two
| * File picker config (#988)Dan Nases Sha2021-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * squashed WIP commits * hide_gitignore working with config * pass reference to new config parameter of file_picker() * update config option name to match name on walk builder * add comments to config and documentation of option to book * add git_ignore option to WalkBuilder within prompt in commands.rs * WIP: add FilePickerConfig struct * WIP: cleanup * WIP: add more options including max_depth * WIP: changed defaults to match ignore crate defaults * WIP: change WalkBuilder in global_search() to use config options * WIP: removed follow_links, changed max_depth to follow config setting * WIP: update book with file-picker inline table notation * update documentation for file-picker config in book * adjusted to [editor.file-picker] in book configuration.md * adjust comments in editor.rs to be doc comments, cleanup * adjust comments * adjust book
* | cargo fmtBlaž Hrastnik2021-11-22
| |
* | dap: Modify breakpoints in place with no cloningBlaž Hrastnik2021-11-22
| |
* | Merge remote-tracking branch 'origin/master' into debugBlaž Hrastnik2021-11-21
|\|
| * Simplify view/doc macrosBlaž Hrastnik2021-11-18
| |
| * helix-view/editor: use SCRATCH_BUFFER_NAME const (#1104)Cole Helbling2021-11-15
| |
| * helix-term/commands: implement buffer-close (bc, bclose) (#1035)Cole Helbling2021-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * helix-view/view: impl method to remove document from jumps * helix-view/editor: impl close_document * helix-view/editor: remove close_buffer argument from `close` According to archseer, this was never implemented or used properly. Now that we have a proper "buffer close" function, we can get rid of this. * helix-term/commands: implement buffer-close (bc, bclose) This behaves the same as Kakoune's `delete-buffer` / `db` command: * With 3 files opened by the user with `:o ab`, `:o cd`, and `:o ef`: * `buffer-close` once closes `ef` and switches to `cd` * `buffer-close` again closes `cd` and switches to `ab` * `buffer-close` again closes `ab` and switches to a scratch buffer * With 3 files opened from the command line with `hx -- ab cd ef`: * `buffer-close` once closes `ab` and switches to `cd` * `buffer-close` again closes `cd` and switches to `ef` * `buffer-close` again closes `ef` and switches to a scratch buffer * With 1 file opened (`ab`): * `buffer-close` once closes `ab` and switches to a scratch buffer * `buffer-close` again closes the scratch buffer and switches to a new scratch buffer * helix-term/commands: implement buffer-close! (bclose!, bc!) Namely, if you have a document open in multiple splits, all the splits will be closed at the same time, leaving only splits without that document focused (or a scratch buffer if they were all focused on that buffer). * helix-view/tree: reset focus if Tree is empty
| * helix-term/commands: implement cquit (#1096)Cole Helbling2021-11-15
| | | | | | This allows you to exit helix with an exit code, e.g. `:cq 2`.
| * Implement "Goto last modification" command (#1067)ath32021-11-14
| |
| * helix-term/commands: move SCRATCH_BUFFER_NAME to helix-view/document (#1091)Cole Helbling2021-11-13
| | | | | | | | This way, the name is accessible everywhere `Document` and related types are.
| * Fix earlier/later missing changeset update (#1069)Ivan Tham2021-11-11
| | | | | | Fix #1059
| * Allow piping from stdin into a buffer on startup (#996)Jason Hansen2021-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow piping from stdin into a buffer on startup * Refactor * Don't allow piping into new buffer on macOS * Update helix-term/src/application.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Update helix-term/src/application.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Fix Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
| * search_impl will only align cursor center when it isn't in view (#959)CossonLeo2021-11-09
| |
| * Refactor shebang detection to reuse the loaded bufferBlaž Hrastnik2021-11-08
| |
| * Detect filetype from shebang line (#1001)ath32021-11-08
| |
| * Add LSP rename_symbol (space-r) (#1011)CossonLeo2021-11-08
| | | | | | improve apply_workspace_edit
| * Launch with defaults upon invalid config/theme (#982)Omnikar2021-11-06
| | | | | | | | | | | | | | | | * Launch with defaults upon invalid config/theme * Startup message if there is a problematic config * Statusline error if trying to switch to an invalid theme * Use serde `deny_unknown_fields` for config
* | dap: Fully extract template parameter promptsBlaž Hrastnik2021-11-07
| |
* | dap: Extract out variable renderingBlaž Hrastnik2021-11-07
| | | | | | | | Will improve on the UI later
* | dap: Move template selection into a pickerBlaž Hrastnik2021-11-06
| | | | | | | | It's time to move all these components out of ui/editor.rs
* | Merge branch 'master' into debugBlaž Hrastnik2021-11-06
|\|
| * Make sure document diagnostics are sortedBlaž Hrastnik2021-11-06
| |
| * Allow infoboxes to be disabled (#972)Omnikar2021-11-05
| | | | | | | | | | | | | | | | | | | | | | * Allow infoboxes to be disabled * Document `infoboxes` default value * Rename `infoboxes` to `auto_info` * Document `auto-info` * Fix incomplete rename
| * Inform when reaching undo/redo bounds (#981)Omnikar2021-11-05
| | | | | | | | | | | | | | | | * Inform when reaching undo/redo bounds * `Already at oldest change` when undo fails * `Already at newest change` when redo fails * Add missing `the`
| * Fix crash on changing from empty scratch buffer to itself (#975)ath32021-11-04
| |
| * Replace documents SlotMap with BTreeMapBlaž Hrastnik2021-11-04
| |
| * Ensure coords in screen depends on char width (#885)Ivan Tham2021-11-03
| | | | | | | | | | The issue affected files with lots of tabs at the start as well. Fix #840
| * Implement key ordering for info boxDaniel Ebert2021-11-03
| |
| * If switching away from an empty scratch buffer, remove it (#935)Omnikar2021-10-31
| | | | | | | | | | | | | | * If switching away from an empty scratch buffer, remove it * Move `view.jumps.push` call into `else` clause * Refactor
| * Uncomment mapping LSP diagnostics through changes (#925)Kirawi2021-10-29
| |
| * set_path: Pass in the function directlyBlaž Hrastnik2021-10-28
| |
| * Simplify set_pathBlaž Hrastnik2021-10-28
| |
| * Implement `hx --tutor` and `:tutor` to load `tutor.txt` (#898)Omnikar2021-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement `hx --tutor` and `:tutor` to load `tutor.txt` * Document `hx --tutor` and `:tutor` * Change `Document::set_path` to take an `Option` * `Document::set_path` accepts an `Option<&Path>` instead of `&Path`. * Remove `Editor::open_tutor` and make tutor-open functionality use `Editor::open` and `Document::set_path`. * Use `PathBuf::join` Co-authored-by: Ivan Tham <pickfire@riseup.net> * Add comments explaining unsetting tutor path Co-authored-by: Ivan Tham <pickfire@riseup.net>
| * minor: Further simplify take_withBlaž Hrastnik2021-10-27
| |
| * completion: fully revert state before apply & insertText common prefixBlaž Hrastnik2021-10-25
| |
| * find motion and textobj motion repeat (#891)CossonLeo2021-10-24
| |
| * fix: Indentation used different default on `hx` vs `hx new_file.txt`Blaž Hrastnik2021-10-24
| |
| * log syntax highlighting init errors (#895)Kirawi2021-10-23
| |
| * Add commands for moving between splits with a direction (#860)Oskar Nehlin2021-10-23
| | | | | | | | | | | | | | | | | | * Add commands for moving between splits with a direction * Update keymaps * Change picker mapping * Add test and clean up some comments