dependabot[bot]
10ad25b95b
build(deps): bump actions/upload-artifact from 2.2.4 to 2.3.0 ( #1263 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.2.4 to 2.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.4...v2.3.0 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
5404a3f01b
build(deps): bump serde from 1.0.130 to 1.0.131 ( #1264 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.130 to 1.0.131.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.130...v1.0.131 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
3820258c57
build(deps): bump serde_json from 1.0.72 to 1.0.73 ( #1265 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.72...v1.0.73 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
b711687e19
build(deps): bump encoding_rs from 0.8.29 to 0.8.30 ( #1266 )
...
Bumps [encoding_rs](https://github.com/hsivonen/encoding_rs ) from 0.8.29 to 0.8.30.
- [Release notes](https://github.com/hsivonen/encoding_rs/releases )
- [Commits](https://github.com/hsivonen/encoding_rs/compare/v0.8.29...v0.8.30 )
---
updated-dependencies:
- dependency-name: encoding_rs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
ca0c5fb08c
build(deps): bump signal-hook from 0.3.10 to 0.3.12 ( #1267 )
...
Bumps [signal-hook](https://github.com/vorner/signal-hook ) from 0.3.10 to 0.3.12.
- [Release notes](https://github.com/vorner/signal-hook/releases )
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vorner/signal-hook/compare/v0.3.10...v0.3.12 )
---
updated-dependencies:
- dependency-name: signal-hook
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Skyler Hawthorne
94535fa013
Add auto pairs for same-char pairs ( #1219 )
...
* Add auto pairs for same-char pairs
* Add unit tests for all existing functionality
* Add auto pairs for same-char pairs (quotes, etc). Account for
apostrophe in prose by requiring both sides of the cursor to be
non-pair chars or whitespace. This also incidentally will work for
avoiding a double single quote in lifetime annotations, at least until
<> is added
* Slight factor of moving the cursor transform of the selection to
inside the hooks. This will enable doing auto pairing with selections,
and fixing the bug where auto pairs destroy the selection.
Fixes #1014
3 years ago
Blaž Hrastnik
730d3be201
Add ui.gutter to theme all gutters (i.e. set bg)
3 years ago
NNB
c7ace15fd4
Add `ui.gutter` theming
3 years ago
Omnikar
cce34feb4e
Assume true color support on Windows
3 years ago
Omnikar
42e6d96a75
Use `base16_tty` as 16-color default, fix theme name
3 years ago
NNB
d9727868dd
change to .unwrap_or_default() and fix ui.window and ui.statusline
3 years ago
NNB
3080be8268
Fix error color, add tty theme
3 years ago
NNB
a9a9d498e8
Update theme.rs
3 years ago
NNB
cff5344a13
Rename base16_theme.toml to base16_terminal.toml
3 years ago
Omnikar
98ce2a301d
Load alt default theme if true color is not supported
...
* Move `runtime/themes/base16_default_terminal.toml` to
`base16_theme.toml` alongside `theme.toml`
* Use `terminfo` crate to detect whether the terminal supports true
color and, if the user has no theme configured and their terminal does
not support true color, load the alt default theme instead of the
normal default.
Remove `terminfo` dependency, use `COLORTERM` env instead
Prevent user from switching to an unsupported theme
Add `true-color-override` option
If the terminal is wrongly detected to not support true color,
`true-color-override = true` will override the detection.
Rename `true-color-override` to `true-color`
3 years ago
NNB
43d17c482c
Fix Base16 Dark, add Base16 Light and Terminal
...
Improve accuracy with line number and cursor color
3 years ago
Blaž Hrastnik
7ad8eaaef0
wip
3 years ago
Blaž Hrastnik
b25d453f64
minor: Shorten goto file(s) descriptions
3 years ago
Omnikar
e91d357fae
Macros ( #1234 )
...
* Macros WIP
`helix_term::compositor::Callback` changed to take a `&mut Context` as
a parameter for use by `play_macro`
* Default to `@` register for macros
* Import `KeyEvent`
* Special-case shift-tab -> backtab in `KeyEvent` conversion
* Move key recording to the compositor
* Add comment
* Add persistent display of macro recording status
When macro recording is active, the pending keys display will be shifted
3 characters left, and the register being recorded to will be displayed
between brackets — e.g., `[@]` — right of the pending keys display.
* Fix/add documentation
3 years ago
ath3
3156577fbf
Open files with spaces in filename, allow opening multiple files ( #1231 )
3 years ago
Blaž Hrastnik
3307f44ce2
ui: popup: Don't allow scrolling past the end of content
3 years ago
Omnikar
b66d3d3d9d
Add `save_selection` command ( #1247 )
3 years ago
Omnikar
44681c5057
Add `default-run = "hx"` to `helix-term/Cargo.toml` ( #1244 )
...
Following the addition of `xtask`, `cargo run` has multiple possible
targets, necessitating the usage of `cargo run --bin hx` to run Helix
during development. This allows `cargo run` to be used to run `hx`.
3 years ago
Blaž Hrastnik
df3b88387b
dap: Improve variables UI
3 years ago
Blaž Hrastnik
dac317e620
TODO
3 years ago
Blaž Hrastnik
60c86eff89
dap: Simplify a few more statements that could use the debugger macro
3 years ago
Oskar Nehlin
a1e64815cb
Update book to include typable command remapping ( #1240 )
...
* Update book to include typable command remapping
* Add additional example
3 years ago
Kirawi
29c053e84e
Only use a single documentation popup ( #1241 )
3 years ago
Gokul Soumya
d08bdfa838
Use same name used in config files for langs in docs
3 years ago
Gokul Soumya
70c989e122
Add github action to lint unmerged docs
3 years ago
Gokul Soumya
a78b789406
Auto generate docs for language support
3 years ago
Gokul Soumya
71292f9f11
docs: Auto generate command list
3 years ago
Skyler Hawthorne
9bdbafa075
Fix solarized selection colors ( #1236 )
...
* do not select a foreground color in selections, as this eliminates
syntax coloring
* select lighter color for selections
* Make non-primary cursor cyan instead of green
3 years ago
Blaž Hrastnik
d8351d35ab
dap: Extract a macro that fetches a debugger or returns
3 years ago
Blaž Hrastnik
e98993d609
dap: Fix an off-by-one error when jumping
3 years ago
Omnikar
178cd5ecfc
Add note to `keymap.md` regarding `format_selections` ( #1230 )
3 years ago
WindSoilder
93e276cd9d
Make kill_to_line_end behave like emacs ( #1235 )
3 years ago
Blaž Hrastnik
35ac815409
Fix compilation
...
nix-direnv issues still mess with my shell..
3 years ago
Blaž Hrastnik
a2b22ec152
Use binary_search when looking up diagnostics
...
They're sorted by range so they should also be sorted by line
3 years ago
Blaž Hrastnik
cab09093dd
fix: Normalize backtab into shift-tab
...
Fixes #1150
3 years ago
Blaž Hrastnik
bf8437d098
clippy lint
3 years ago
Blaž Hrastnik
dc8df7ba21
Make thread_picker non-blocking
3 years ago
Blaž Hrastnik
2b4de41bf0
dap: Reply to RunInTerminal
3 years ago
Blaž Hrastnik
d5d1a9b1ae
Apply suggestions from code review
...
Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
3 years ago
Jason Rodney Hansen
461cd20563
Small change
3 years ago
Jason Rodney Hansen
539c27e3f5
Remove `Clone` derive
3 years ago
Jason Rodney Hansen
0b7911d921
Remove `FormatError`
3 years ago
Jason Rodney Hansen
31ed91dc2e
Don't increment for overlapping changes
3 years ago
Jason Rodney Hansen
584a31cd90
Used checked_add for years and months
3 years ago
Jason Rodney Hansen
c74cd48f38
Cleanup
3 years ago