Nikita Revenco
dd3251da46
perf: use HashSet to filter out tags which are not in both collections
1 week ago
Nikita Revenco
c3a3e4803c
refactor: extract while loop logic into separate variable
1 week ago
Nikita Revenco
a88ffcd413
test: refactored selections and expectations util to return only 1 range
1 week ago
Nikita Revenco
d24677da62
refactor: move overlap check into find_nth_tag fn
1 week ago
Nikita Revenco
7f9e7611b6
fix: panic which occured if ranges overlapped
2 weeks ago
Nikita Revenco
3633c8cd0f
fix: panic which occured if cursors overlapped
2 weeks ago
Nikita Revenco
2a61b113de
feat: add delete surrounding tag functionality
2 weeks ago
Nikita Revenco
6e4d022e98
feat: complete implementation for replace surrounding tag
2 weeks ago
Nikita Revenco
6f6ceda1ba
fix: add + 1 to head for every range
2 weeks ago
Nikita Revenco
b2f1bb8de9
fix: handle pair not found error gracefully
2 weeks ago
Nikita Revenco
74b8ca9c72
feat: add basic core functionality to replace Tag with another
2 weeks ago
Nikita Revenco
dfd1252f5f
chore: remove "pub" keyword from functions which do not need export
2 weeks ago
Nikita Revenco
f16aa7b18d
test: add several more tests
2 weeks ago
Nikita Revenco
89fe2ffa3e
test: use new util function to test ranges of html tags and their names
2 weeks ago
Nikita Revenco
b78a777e2b
feat: correct handling of nested tags
2 weeks ago
Nikita Revenco
a6ab0fe1e4
feat: complete feature for find_nth_nearest_tag
2 weeks ago
Nikita Revenco
db3202b1cd
fix: infinite loop
2 weeks ago
Nikita Revenco
12aa006803
feat: complete implementation for getting surrounding tag
2 weeks ago
Nikita Revenco
f52b500fb4
feat: remove unused comments
2 weeks ago
Nikita Revenco
b77e09d1bf
chore: remove empty file
2 weeks ago
Nikita Revenco
6d671e4a92
feat: remove unused comments
2 weeks ago
Nikita Revenco
5a61331822
chore: remove unused comment
2 weeks ago
Nikita Revenco
49084538bc
chore: remove unused function
2 weeks ago
Nikita Revenco
757ad239e9
refactor: remove loop labels and return early instead
2 weeks ago
Nikita Revenco
cfc49f7657
docs: add doc comments to new functions
2 weeks ago
Nikita Revenco
93fc1af230
feat: create skeleton for the replacement implementation
2 weeks ago
Nikita Revenco
5f4c4623c2
feat: prev_tag finder passes tests
2 weeks ago
Nikita Revenco
c45f230f2d
test: add some extra tests
2 weeks ago
Nikita Revenco
12d9fcee0e
feat: add function to get next tag's position and test for it
2 weeks ago
Nikita Revenco
abe32105f3
feat: add basic hard-coded implementation for replace tag
2 weeks ago
Nikita Revenco
3cb8519ffd
docs: add comments describing algorithm
2 weeks ago
Nikita Revenco
f8cace7957
docs: add comments describing algorithm for replacing character
2 weeks ago
Nikita Revenco
59df1fedf5
fix: remove misleading textobject "x" mention
2 weeks ago
Nikita Revenco
c620860bd6
feat: complete implementation for adding surrounding tag
2 weeks ago
Nikita Revenco
089c2028fa
refactor: remove unnecessary abstraction (create_surround_prompt)
2 weeks ago
Nikita Revenco
b126d9aeef
refactor: make surround_add use surround_add_impl in all of its brancehs
2 weeks ago
Nikita Revenco
d739761636
docs: add documentation
2 weeks ago
Nikita Revenco
c586e410d4
refactor: add_surrounding_impl extract main logic into an fn
2 weeks ago
Nikita Revenco
3882bf9e9d
feat: create branch for surround implementation for x
2 weeks ago
Yuki Kobayashi
b53dafe326
Treat .prettierrc as YAML ( #11997 )
3 weeks ago
Poliorcetics
c0920e779d
just: update tree-sitter-grammar to support 1.36.0 ( #11606 )
...
Release notes:
- https://github.com/casey/just/releases/tag/1.35.0
- https://github.com/casey/just/releases/tag/1.36.0
Notably, this adds `[private]` attributes on modules, which the current version of the grammar cannot parse,
as well as unicode codepoint escape sequences.
3 weeks ago
Elliot Fontaine
38faf74feb
feat: Add support for cylc configuration files ( #11830 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
4 weeks ago
dependabot[bot]
101a74bf6e
build(deps): bump the rust-dependencies group with 6 updates ( #11924 )
...
Bumps the rust-dependencies group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.128` | `1.0.132` |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.89` | `1.0.90` |
| [libc](https://github.com/rust-lang/libc ) | `0.2.159` | `0.2.161` |
| [fern](https://github.com/daboross/fern ) | `0.6.2` | `0.7.0` |
| [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark ) | `0.12.1` | `0.12.2` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.1.30` | `1.1.31` |
Updates `serde_json` from 1.0.128 to 1.0.132
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.128...1.0.132 )
Updates `anyhow` from 1.0.89 to 1.0.90
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.89...1.0.90 )
Updates `libc` from 0.2.159 to 0.2.161
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.161/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.159...0.2.161 )
Updates `fern` from 0.6.2 to 0.7.0
- [Release notes](https://github.com/daboross/fern/releases )
- [Changelog](https://github.com/daboross/fern/blob/main/CHANGELOG.md )
- [Commits](https://github.com/daboross/fern/compare/fern-0.6.2...fern-0.7.0 )
Updates `pulldown-cmark` from 0.12.1 to 0.12.2
- [Release notes](https://github.com/raphlinus/pulldown-cmark/releases )
- [Commits](https://github.com/raphlinus/pulldown-cmark/compare/v0.12.1...v0.12.2 )
Updates `cc` from 1.1.30 to 1.1.31
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.30...cc-v1.1.31 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: fern
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: pulldown-cmark
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 month ago
Michael Davis
6d64e6288a
Bump flake dependencies
...
`nix flake update`
1 month ago
Michael Davis
f371dcaa4e
flake: Include --cfg tokio_unstable in Rust flags
...
The flake sets `RUSTFLAGS` and that overwrites the setting in
`.cargo/config.toml`. We need to add the `--cfg tokio_unstable` flag to
enable integration tests to run when called from the devShell.
1 month ago
TornaxO7
be2884d800
Continue line comments ( #10996 )
1 month ago
Sebastian Dall
a1453350df
Adding snakemake to language ( #11858 )
...
* feat: snakemake language
* feat: snakemake syntax highlighting
* doc: xtask docgen - snakemake
* Addressed feedback: removed redundant grammar
* fixed indentation
* removed has-ancestor predicate
---------
Co-authored-by: “SebastianDall” <“semoda@bio.auu.dk”>
1 month ago
karei
855a43a266
Bump `jjdescription` grammar revision ( #11857 )
1 month ago
Ivan B.
5ab1f1eb5a
docs(themes): place `ui.highlight.frameline` and `ui.highlight` together ( #11896 )
...
* docs(themes): place `ui.highlight.frameline` and `ui.highlight` together
* docs(themes): small fix
1 month ago
langurmonkey
1437ba1e5a
Add glsl_analyzer as default language server for GLSL ( #11891 )
...
* Add glsl_analyzer as default language server for GLSL
* Generate docs
1 month ago