aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
Commit message (Collapse)AuthorAge
* 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>
* 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
|
* 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.
* 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
|
* Fix overlap calculation.Blaž Hrastnik2021-04-10
|
* N as extend with search (for now, N should be search_prev).Blaž Hrastnik2021-04-09
|
* Fix range.overlap()Blaž Hrastnik2021-04-09
|
* Remove the path specifier.Blaž Hrastnik2021-04-09
|
* Import tree sitter queries.Blaž Hrastnik2021-04-08
|
* Load config files from ~/.config/helix, fallback to defaults.Blaž Hrastnik2021-04-07
|
* hack: make queries load relative to source dir for now.Blaž Hrastnik2021-04-07
| | | | We want to provide a runtime dir later on.
* Fix selection rendering, it would be off by 1 if reverse.Blaž Hrastnik2021-04-07
|