aboutsummaryrefslogtreecommitdiff
path: root/helix-core
Commit message (Collapse)AuthorAge
...
* Release 0.0.10Blaž Hrastnik2021-06-07
|
* fix: 2 panics while setting style + off by 1ahkrr2021-06-07
| | | | | | | | | | | | The panics would occur because set_style would draw outside of the the surface. Both occured using `find_prev` or `till_prev` In my case the first panic! would appear in a terminal with around 80 columns in helix/README.md going to the end of the file with `geglf(` the second with `geglfX` The off by one fix ensures that `find_nth_prev` starts at the first character to the left
* Install instructions and version number corrections (#148)Ethan Bodzioney2021-06-07
| | | | | | | | | | | | | | | | | | | * Add MacOS install instructions * Change version name argument When using the -V command to get the version you are given 'helix-term x.x.x', I changed this to just helix as it makes more sense. * Fixed version number * Fixed version number * Fixed version number * Fixed version number * Fixed version number * Fixed version number
* Fix panic when moving over unicode punctuationBenoît CORTIER2021-06-07
| | | | | | | | | | | | `is_ascii_punctuation` will only work for ASCII punctuations, and when we have unicode punctuation (or other) we jump into the `unreachable`. This patch fallback into categorizing everything in this branch as `Unknown`. Fixes https://github.com/helix-editor/helix/issues/123 https://github.com/helix-editor/helix/pull/135: add better support for unicode categories.
* Add test for prev wordIvan Tham2021-06-06
|
* Add ctrl-w in insert modeIvan Tham2021-06-06
| | | | | It seemed to panic when I pressed too many times, but that is from lsp side.
* Return an error if we request an embedded file that does not exist.Brian Dawn2021-06-06
| | | | | This makes the load_runtime_file function behave like the non-embedded one.
* Add a smoke test around loading runtime files.Brian Dawn2021-06-06
| | | | This test makes sure we can read some amount of data from the runtime folder.
* Simplify the load_runtime_file code.Brian Dawn2021-06-06
| | | | Reduce the number of feature switches for the embed_runtime feature.
* Simplify creating pathbufs.Brian Dawn2021-06-06
| | | Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Apply suggestions from code reviewBrian Dawn2021-06-06
| | | | Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Make rust-embed optionally included based on the embed_runtime feature.Brian Dawn2021-06-06
|
* Provide a feature flag to be able to embed the runtime folder.Brian Dawn2021-06-06
| | | | | | These changes provide a new feature flag "embed_runtime" that when enabled and built in release mode will embed the runtime folder into the resulting binary.
* fix: make find_prev_char and till_prev_char workahkrr2021-06-05
| | | | | | Bevore this PR `commands::find_prev_char` and `commands::till_prev_char` were triggerable through keys but `seach::find_nth_next()` was hardcoded in `_find_char`. The passed `fn` was nerver used. With this PR the passed `fn` is used. The change in search.rs resolves an off by one error in the behivor of `find_nth_prev`
* Add unreachable contextIvan Tham2021-06-05
| | | Better error for #123
* Don't panic on empty file/buffer (#108)notoria2021-06-05
|
* Fixing Multiple Panics (#121)Kirawi2021-06-05
| | | | | | | * init * wip * wip
* Try to detect language when document file path is setBlaž Hrastnik2021-06-04
| | | | Fixes #91
* Remove swapfilenotoria2021-06-04
|
* Convert byte index to char index for `find`notoria2021-06-04
|
* Merge pull request #77 from notoria/match_bracketsBlaž Hrastnik2021-06-03
|\ | | | | Fix match_brackets::find
| * Fix match_brackets::findnotoria2021-06-03
| |
* | Default log file to cacheIvan Tham2021-06-03
|/
* Separate document history into CellIvan Tham2021-06-02
| | | | | As history is used separately from the rest of the edits, separating it can avoid needless borrowing and cloning. But one need to be aware later.
* Better fix for w/e that also covers `ia<esc>we`/`ia<esc>wb`Blaž Hrastnik2021-06-02
|
* f/t: Check if at bounds before searching, refs #43, closes #37Blaž Hrastnik2021-06-02
|
* Fix panics when triggering w or e on the last char of the lineBlaž Hrastnik2021-06-02
| | | | Closes #32
* fix: Don't allow moving past last line, fixes #30, #24Blaž Hrastnik2021-06-02
| | | | Off by 1 error
* Categorize _ as a word char, not punctuationBlaž Hrastnik2021-05-31
|
* Allow moving to EOL byte, also fixes #15Blaž Hrastnik2021-05-31
|
* Drop clap for pico-argsBlaž Hrastnik2021-05-31
| | | | | We barely have any flags so it's not worth the compilation time or binary size to use clap.
* Update architecture.mdBlaž Hrastnik2021-05-30
|
* Update deps, introduce the new tree-sitter lifetimesBlaž Hrastnik2021-05-27
|
* When calculating a new selection, we need to take newly inserted text into ↵Blaž Hrastnik2021-05-15
| | | | account.
* Hacky way to specify indent scopes per language via toml configs.Blaž Hrastnik2021-05-14
| | | | | | | | | Can't do it via a scm query nicely because it returns an iterator over all the matches, whereas we want to traverse the tree ourselves. Can't extract the pattern data from a parsed query either. Oh well, toml files for now.
* Add the LICENSE file.Blaž Hrastnik2021-05-10
|
* Fix indent test, we need to use the in-tree runtime dir.Blaž Hrastnik2021-05-10
|
* Fix runtime dir lookup.Blaž Hrastnik2021-05-10
|
* Make the config dir locator work on Windows.Blaž Hrastnik2021-05-10
|
* Determine runtime dir based on executable location or env override.Blaž Hrastnik2021-05-09
|
* Indent array and tuple lists too.Blaž Hrastnik2021-05-09
|
* LintBlaž Hrastnik2021-05-09
|
* Add the :new command, don't crash if saving without filename.Blaž Hrastnik2021-05-07
|
* Implement pair expansion when pressing new line between bracket pairs.Blaž Hrastnik2021-05-06
| | | | | | | | | | From: {|} To: { | }
* clippy lintBlaž Hrastnik2021-05-06
|
* doc: Be smarter about calculating modified status.Blaž Hrastnik2021-05-03
| | | | This way edit -> undo will properly show up as unmodified.
* auto_pairs: move if cursor, extend if selection.Blaž Hrastnik2021-04-22
|
* And some more indent patterns.Blaž Hrastnik2021-04-14
|
* Rust: add a few more scopes to indent.Blaž Hrastnik2021-04-14
|
* Simplify calculate_indentation.Blaž Hrastnik2021-04-14
|