aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
Commit message (Collapse)AuthorAge
...
* Adds single and double quotes to matching pairs (#995)Daniel S Poulin2021-11-08
| | | | This enables `mm` to work on quote characters as well as highlighting of matching quote when on it.
* Add WORD textobject (#991)Omnikar2021-11-08
| | | | | * Add WORD textobject * Document WORD textobject
* fix(core): stop merging array toml config values (#1004)Carter Snook2021-11-08
|
* Make sure document diagnostics are sortedBlaž Hrastnik2021-11-06
|
* Implement Selection::replace to replace a single rangeBlaž Hrastnik2021-11-06
| | | | | | Fixes #985 Co-authored-by: Daniel S Poulin <crimsonmage+github@gmail.com>
* 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
* Updated tree-sitter query scopes (#896)Kirawi2021-11-03
| | | | | | | | | | | | | | | | | | * updated theme scopes variable.property -> variable.field property -> variable.field * updated theme scopes * update book and themes updated book and themes to reflect scope changes * wip * update more queries * update dark_plus.toml
* select smaller range on some casecossonleo2021-10-29
|
* Add hyperlinks to fix `cargo doc` warn (#931)Omnikar2021-10-29
|
* Remove three transmutes from helix-core syntax.rs (#923)Gygaxis Vainhardt2021-10-28
|
* Document more of helix-core (#904)Kirawi2021-10-25
|
* completion: fully revert state before apply & insertText common prefixBlaž Hrastnik2021-10-25
|
* fix: Compose where changes.compose(empty_other)Blaž Hrastnik2021-10-25
|
* Mark a few functions as `const`Blaž Hrastnik2021-10-24
|
* log syntax highlighting init errors (#895)Kirawi2021-10-23
|
* Add treesitter textobjects (#728)Gokul Soumya2021-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | * Add treesitter textobject queries Only for Go, Python and Rust for now. * Add tree-sitter textobjects Only has functions and class objects as of now. * Fix tests * Add docs for tree-sitter textobjects * Add guide for creating new textobject queries * Add parameter textobject Only parameter.inside is implemented now, parameter.around will probably require custom predicates akin to nvim' `make-range` since we want to select a trailing comma too (a comma will be an anonymous node and matching against them doesn't work similar to named nodes) * Simplify TextObject cell init
* clean up combined-injections comment (#880)Michael Davis2021-10-19
|
* Update mdbook style and fix unreadable table head (#806)Ivan Tham2021-10-09
| | | | | | The styles are now pulled from upstream styles, some of the changes I submitted it back to upstream. Fix #796
* Allow `language.config` (in languages.toml) to be passed in as a toml object ↵Midnight Exigent2021-10-08
| | | | | | | | | | | | | (#807) * allow language.config (in languages.toml) to be passed in as a toml object * Change config field for languages from json string to toml object * remove indents on languages.toml config * fix: remove patch version from serde_json import in helix-core * Use same tree-sitter-zig as upstream/master
* Implement 'remove_primary_selection' as Alt-,Blaž Hrastnik2021-09-24
| | | | | | This allows removing search matches from the selection Fixes #713
* ...Blaž Hrastnik2021-09-16
|
* Fix broken testBlaž Hrastnik2021-09-16
|
* syntax: Properly handle injection-regex for language injectionsBlaž Hrastnik2021-09-16
|
* fix: Need to reset set_byte_range in case cursor_ref is reused.Blaž Hrastnik2021-09-13
|
* syntax: Add go & rust locals, improve tree-sitter error messageBlaž Hrastnik2021-09-06
|
* fix: tree-sitter-scopes would infinitely loopBlaž Hrastnik2021-09-06
|
* Update tree-sitter to 0.20Blaž Hrastnik2021-09-06
| | | | | 0.20 includes querying improvements, we no longer have to convert fragments to strings but can return an iterator of chunks instead.
* remove unsafeBrian Shu2021-08-27
|
* feat: merge default languages.toml with user provided languages.toml, add a ↵Yusuf Bera Ertan2021-08-26
| | | | | | | | | | | generic TOML value merge function (#654) * feat: merge default languages.toml with user provided languages.toml * refactor: use catch-all to override all other values for merge toml * tests: add a test case for merging languages configs * refactor: change test module name
* Fix tests broken by the State changeBlaž Hrastnik2021-08-26
|
* Reduce State use a bit furtherBlaž Hrastnik2021-08-26
| | | | This is a legacy type that should be fully removed.
* Move path util functions from helix-term to helix-core (#650)Kirawi2021-08-25
|
* Fix auto pairs return wrong selection (#613)langbamit2021-08-18
|
* Fixes crash on empty rust file. (#592)Cor Peters2021-08-16
| | | | | Fixes #591 Co-authored-by: Cor Peters <luctius@gmail.com>
* Appease clippyBlaž Hrastnik2021-08-13
|
* Add :tree-sitter-scopes, useful when developing indents.tomlBlaž Hrastnik2021-08-13
|
* fix: tree sitter rendering glitches with multiple selection editsBlaž Hrastnik2021-08-13
|
* Document `pos_at_coords` better.Nathan Vegdahl2021-08-09
| | | | | Particularly the effect of the `limit_before_line_ending` parameter.
* Fix around-word text-object selection. (#546)Nathan Vegdahl2021-08-06
| | | | | | | | | | | | | * Fix around-word text-object selection. * Text object around-word: select to the left if no whitespace on the right. Also only select around when there's whitespace at all. * Make select-word-around select all white space on a side. * Update commented-out test case. * Fix unused import warning from rebase.
* Fix buggy surround behavior from #376.Nathan Vegdahl2021-08-04
| | | | Fixes #543.
* mouse: Remove verify_screen_coords, refactor primary selection modificationBlaž Hrastnik2021-07-30
|
* Remove embed_runtime featureBlaž Hrastnik2021-07-30
| | | | It's no longer practical to maintain. Closes #451
* Move indent-style code into `helix_core::indent`.Nathan Vegdahl2021-07-30
|
* Fixes for new clippy lints in Rust 1.54.Nathan Vegdahl2021-07-29
|
* Enforce cursor/selection invariants in one place.Nathan Vegdahl2021-07-28
| | | | Rather than per-command like before.
* Minor cleanup of the vertical movement code.Nathan Vegdahl2021-07-27
|
* Use `match` for branching on the `Direction` enum in more places.Nathan Vegdahl2021-07-27
|
* Add unit tests for some of the new `Range` methods.Nathan Vegdahl2021-07-27
|
* Improve `Range` documentation and organization.Nathan Vegdahl2021-07-27
|
* Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-26
|\