aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
Commit message (Collapse)AuthorAge
* 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
* 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
* Update to rust 1.56 + 2021 editionBlaž Hrastnik2021-10-22
|
* Improve completion trigger (#838)CossonLeo2021-10-18
| | | | | | | * improve idle completion trigger * add completion-trigger-len to book * rename semantics_completion to language_server_completion and optimize idle completion trigger
* Make auto-completion a config (#853)Ivan Tham2021-10-16
|
* fix: Make sure to actually use idle_timeout config value for the timersBlaž Hrastnik2021-10-10
|
* Make idle-timeout configurableBlaž Hrastnik2021-10-10
|
* Filter the initial completionBlaž Hrastnik2021-10-05
|
* idle timer wipBlaž Hrastnik2021-10-05
|
* Add option for automatic insertion of closing-parens/brackets/etc (#779)lurpahi2021-09-24
| | | | | | | | | | | | | | | * Add auto-pair editor option * Document auto-pair editor option * Make cargo fmt happy * Actually make cargo fmt happy * Rename auto-pair option to auto-pairs * Inline a few constants Co-authored-by: miaomai <cunso@tutanota.com>
* enable smart case regex search by default (#761)kraem2021-09-20
|
* log errors produced when trying to initialize the LSP (#746)Kirawi2021-09-15
|
* fix: lsp: Regression with textDocument/didSave not getting sentBlaž Hrastnik2021-09-09
|
* Regex prompts should have a history with a specifiable registerBlaž Hrastnik2021-09-08
|
* Don't panic on save if language_server isn't initializedBlaž Hrastnik2021-09-06
|
* lsp: doc.language_server() is None until initialize completesBlaž Hrastnik2021-09-06
|
* lsp: Don't send notifications until initialize completesBlaž Hrastnik2021-09-06
| | | | Then send open events for all documents with the LSP attached.
* Simplify documents & documents_mut()Blaž Hrastnik2021-09-06
|
* lsp: Refactor code that could use document_by_path_mutBlaž Hrastnik2021-09-06
|
* Drop some &mut bounds where & would have sufficedBlaž Hrastnik2021-09-06
|
* ls: Refactor textDocument/didSave in a similar veinBlaž Hrastnik2021-09-06
|
* lsp: refactor format so we stop cloning the language_serverBlaž Hrastnik2021-09-06
|
* Simplify textDocument/didClose, we don't need to look up LSP againBlaž Hrastnik2021-09-06
|
* lsp: Improve line ending handling when generating TextEditBlaž Hrastnik2021-09-06
|
* Document macros (#693)oberblastmeister2021-09-05
| | | | | | | | | | | | | | | * add docs * clean up * remove * more * Update helix-view/src/macros.rs Co-authored-by: Ivan Tham <pickfire@riseup.net> Co-authored-by: Ivan Tham <pickfire@riseup.net>
* fix: Merge default palette with user paletteGokul Soumya2021-09-05
|
* feat: Default theme palette using 16 terminal colorsGokul Soumya2021-09-05
|
* Shell commands (#547)Omnikar2021-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement shell interaction commands * Use slice instead of iterator for shell invocation * Default to `sh` instead of `$SHELL` for shell commands * Enforce trailing comma in `commands` macro * Use `|` register for shell commands * Move shell config to `editor` and use in command * Update shell command prompts * Remove clone of shell config * Change shell function names to match prompts * Log stderr contents upon external command error * Remove `unwrap` calls on potential common errors `shell` will no longer panic if: * The user-configured shell cannot be found * The shell command does not output UTF-8 * Remove redundant `pipe` parameter * Rename `ShellBehavior::None` to `Ignore` * Display error when shell command is used and `shell = []` * Document shell commands in `keymap.md`