aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
Commit message (Collapse)AuthorAge
...
| * | Bump rust to 1.57, fix new lint failuresBlaž Hrastnik2021-12-03
| | |
| * | Add last modified file (gm) (#1093)Ivan Tham2021-12-02
| | |
| * | fix goto_window index crash (#1207)Bob2021-12-02
| | |
| * | Revert "Improve dedent behavior, make kill_to_line_end behave like emacs ↵Blaž Hrastnik2021-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#1173)" 1. pressing o on a line with no indentation will open a new line as expected, but esc will then delete the line altogether 2. the kill_line behavior happens after insert mode changes are already commited to history, and the change isn't commited. pressing u after this will break highlighting & undo history This reverts commit c08d2fae587a0a5dd2a1e2e44a1f385d142c9d59.
| * | ui: Optimize tree-sitter style lookupsBlaž Hrastnik2021-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tree sitter returns an index referring to the position of the scope in the scopes array. We can use that same index to avoid a hashmap lookup and instead store the styles in an array. This currently stores the styles in both a map and an array because the UI still uses hashmap lookups, but it's a reasonable tradeoff.
| * | ui: Only calculate span styling when it's actually in boundsBlaž Hrastnik2021-12-01
| | |
| * | minor: Use anchor::ensure in some casesBlaž Hrastnik2021-12-01
| | |
| * | Improve dedent behavior, make kill_to_line_end behave like emacs (#1173)WindSoilder2021-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * restore indent when press esc right after open a new line * add comment for restore_indent * fix, and make kill to line end behaves like emacs * update comment * fix comment * adjust cancel restore_indent situation * check esc logic in mode transaction * improve comment * add more check for dedent * update comment * use matches to check for last_cmd * no need to introduct CommandFun type
* | | 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
| | |
* | | dap: Reply to RunInTerminalBlaž Hrastnik2021-12-06
| | |
* | | Apply suggestions from code reviewBlaž Hrastnik2021-12-06
| | | | | | | | | Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
* | | dap: Add RunInTerminal reverse request, support replying to requestsBlaž Hrastnik2021-12-03
| | |
* | | 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
| | |
* | | dap: Highlight line of current stack frameBlaž Hrastnik2021-12-01
| | |
* | | These TODOs have been resolvedBlaž Hrastnik2021-12-01
| | |
* | | Remove another parameter from render_viewBlaž 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
| | |
| * | Reuse a text buffer for each gutter lineBlaž Hrastnik2021-11-29
| | |
| * | Tie the GutterFn lifetime to the doc so we can avoid cloning dataBlaž Hrastnik2021-11-29
| | |
| * | TODOBlaž Hrastnik2021-11-29
| | |
| * | Gutter functionsBlaž Hrastnik2021-11-29
| | |
| * | Accept count for goto_window (#1033)Bob2021-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * accept count for goto_window also fix view is not fullfilled issue * fix fulfilled mispell * Update helix-term/src/commands.rs Co-authored-by: Ivan Tham <pickfire@riseup.net> * Update helix-term/src/commands.rs Co-authored-by: Ivan Tham <pickfire@riseup.net> * fix merge issue * revert line computation logic Co-authored-by: Ivan Tham <pickfire@riseup.net>
| * | gf as goto_file (#1102)Bob2021-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * goto_file * support goto_file under current cursor * add C-w f/F * sync space w with window mode * Update helix-term/src/commands.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
| * | 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
| | |
| * | Do not crash when run goto command without line number (#1160)Thanabodee Charoenpiriyakij2021-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Do not crash when run goto command without line number Report an error when running goto command without entering a line number. Fixes #1159 * Use is_empty() instead check len zero
| * | Implement no-yank delete/change (#1099)ath32021-11-24
| | |
| * | Add `:<line>` and `:goto <line>` commands (#1128)Martin Junghanns2021-11-24
| |/ | | | | | | | | | | | | | | | | * Add typable `goto` command * Support `:<line-number>` on prompt * Rename function according to convention * Directly call into goto_line_number function
| * Align selections via & (#1101)Bob2021-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * align lines * remove log statement * use selections to align * fix a clippy issue * only accept 1,2,3 as user count * Update helix-term/src/commands.rs Co-authored-by: Ivan Tham <pickfire@riseup.net> * return if user count is not correct * add doc Co-authored-by: Ivan Tham <pickfire@riseup.net>
| * 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
| * Solarized theme: fix popup colors, adjust menu (#1124)Skyler Hawthorne2021-11-20
| | | | | | | | | | * fix popup colors, adjust menu * fix hardcoded horizontal rule color
| * Jump to end char of surrounding pair from any cursor pos (#1121)Martin Junghanns2021-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Jump to end char of surrounding pair from any cursor pos * Separate bracket matching into exact and fuzzy search * Add constants for bracket chars * Abort early if char under cursor is not a bracket * Simplify bracket char validation * Refactor node search and unify find methods * Remove bracket constants
* | dap: Replace breakpoint when changed event comes throughBlaž Hrastnik2021-11-22
| |