aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands
Commit message (Collapse)AuthorAge
* migrate grammar fetching/building code into helix-loader crateMichael Davis2022-03-10
| | | | | | | | | This is a rather large refactor that moves most of the code for loading, fetching, and building grammars into a new helix-loader module. This works well with the [[grammars]] syntax for languages.toml defined earlier: we only have to depend on the types for GrammarConfiguration in helix-loader and can leave all the [[language]] entries for helix-core.
* Fix bug in LSP when creating a file in a folder that does not exist (#1775)Emil Fresk2022-03-08
|
* Bump dependenciesBlaž Hrastnik2022-03-08
|
* Split out typable commands into a separate fileBlaž Hrastnik2022-03-07
|
* Fix bug with auto replacing components in compositor (#1711)Gokul Soumya2022-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix bug with auto replacing components in compositor This was last known to be working with 5995568c at the time of commit, but now doesn't work with latest rust stable. The issue probably stems from using std::any::type_name() for finding a component in the compositor, for which the docs explicitly warn against considering it as a unique identifier for types. `replace_or_push()` takes a boxed `Component` and passes it to `find_id()` which compares this with a bare Component. `type_name()` returns `Box<T>` for the former and `T` for latter and we have a false negative. This has been solved by using a generics instead of trait objects to pass in a `T: Component` and then use it for comparison. I'm not exactly sure how this worked fine at the time of commit of 5995568c; maybe the internal implementation of `type_name()` changed to properly indicate indirection with Box. * Do not compare by type name in compositor find_id
* Alert if LSP is inactive when command is invoked (#1703)Gokul Soumya2022-02-25
|
* Close some popups automatically (#1285)Bram2022-02-23
| | | | | | | | | | | | | | | | | | | * Add Event::Used to use event callback without consuming * Close popup if contents ignored event * collect event results before executing callbacks * don't add new result variant, use Ignored(..) instead * break in match cases * Make auto_close configurable * fix merge * auto close hover popups * fix formatting
* Allow separate styles for markup headings (#1618)Alex2022-02-21
| | | | | * update markdown highlighting to use separate heading themes * remove markdown theme scopes in ui
* Extract a lsp position helperBlaž Hrastnik2022-02-18
|
* Extract some duplication in lsp goto_ callsBlaž Hrastnik2022-02-18
|
* Extract jump_to_locationBlaž Hrastnik2022-02-18
|
* Extract a common "language server or return" macroBlaž Hrastnik2022-02-18
|
* Extract a helper function for lsp::LocationBlaž Hrastnik2022-02-18
|
* Move most LSP specific commmands to commands::lspBlaž Hrastnik2022-02-18
|
* dap: fix runInTerminal with lldb-vscodeBlaž Hrastnik2022-02-18
|
* Refactor symbol picker to share codeBlaž Hrastnik2022-02-18
|
* helix-term: implement buffer completerCole Helbling2022-02-17
| | | | | | In order to implement this completer, the completion function needs to be able to access the compositor's context (to allow it to get the list of buffers currently open in the context's editor).
* Allow static strings in set_status/set_error so API is nicerBlaž Hrastnik2022-02-15
|
* dap: Reduce amount of block_on usesBlaž Hrastnik2022-02-15
|
* ..Blaž Hrastnik2022-02-15
|
* Fix build on masterBlaž Hrastnik2022-02-15
|
* Merge remote-tracking branch 'origin/master' into debugBlaž Hrastnik2022-02-13
|
* wipBlaž Hrastnik2021-12-13
|
* dap: Improve variables UIBlaž Hrastnik2021-12-09
|
* TODOBlaž Hrastnik2021-12-09
|
* dap: Simplify a few more statements that could use the debugger macroBlaž Hrastnik2021-12-09
|
* dap: Extract a macro that fetches a debugger or returnsBlaž Hrastnik2021-12-07
|
* dap: Fix an off-by-one error when jumpingBlaž Hrastnik2021-12-07
|
* clippy lintBlaž Hrastnik2021-12-06
|
* Make thread_picker non-blockingBlaž Hrastnik2021-12-06
|
* Apply suggestions from code reviewBlaž Hrastnik2021-12-06
| | | Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
* Make dap_start non-blockingBlaž Hrastnik2021-12-03
|
* dap: Start working on runInTerminal supportBlaž Hrastnik2021-12-03
|
* Simplify some cases that use return None to use ?Blaž Hrastnik2021-12-02
|
* dap: Use cursor_line over cursor + char_to_lineBlaž Hrastnik2021-12-02
|
* dap: Fix an off-by-one and move the function over to commands/dapBlaž Hrastnik2021-12-02
|
* dap: Remove some unwrapsBlaž Hrastnik2021-12-02
|
* Mark some more TODOs as resolvedBlaž Hrastnik2021-12-01
|
* These TODOs have been resolvedBlaž Hrastnik2021-12-01
|
* 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
|
* dap: Toggle breakpoints without changing selection, fix offset calcBlaž Hrastnik2021-11-22
|
* dap: Always edit breakpoints on the correct documentBlaž Hrastnik2021-11-22
|
* dap: Remove the prompt line parameter, use insert_str insteadBlaž Hrastnik2021-11-22
|
* dap: Modify breakpoints in place with no cloningBlaž Hrastnik2021-11-22
|
* dap: Remove an excess clone on enable_exceptionsBlaž Hrastnik2021-11-21
|
* dap: Simplify debug_parameter_promptBlaž Hrastnik2021-11-07
|
* dap: Clean up dap_start_impl, no need to clone arg keysBlaž Hrastnik2021-11-07
|
* dap: Minor simplificationsBlaž Hrastnik2021-11-07
|
* dap: Simplify launch & startBlaž Hrastnik2021-11-07
| | | | | There's no need to re-detect language config, just use the one available on the document.