Gokul Soumya
016640f4fb
Remove ui.cursor.primary and hashmap lookups
2021-12-18 08:26:11 +05:30
Chetan Vardhan
3ef115d420
Add instructions for Fedora Linux ( #1270 )
...
* Add instructions for Fedora Linux
* Update README.md
* Update install.md
2021-12-17 23:46:32 +09:00
Blaž Hrastnik
5d91335d6b
Fix more highlight scopes
2021-12-17 17:04:59 +09:00
Blaž Hrastnik
9c484e88cf
highlights: @include -> @keyword.control.import
2021-12-17 17:04:59 +09:00
Blaž Hrastnik
78b6155292
Partly fix julia's locals.scm
2021-12-17 17:04:59 +09:00
ath3
a8060c06d1
Add indents.toml to perl ( #1280 )
2021-12-17 09:56:07 +09:00
WindSoilder
0c447151cf
In README, add example for windows config directory ( #1273 )
...
* better doc for windows user
* fix doc
2021-12-16 10:48:49 +09:00
Blaž Hrastnik
ac4b72fcc8
Add injections query for markdown
2021-12-15 18:03:02 +09:00
Blaž Hrastnik
40969ad452
Partly fix latex highlights and add markup scope docs
2021-12-15 17:46:40 +09:00
Blaž Hrastnik
9bfb701c94
Update lang-support.md
2021-12-15 17:38:03 +09:00
Blaž Hrastnik
49e0678741
Add markdown grammar
...
Fixes #215
2021-12-15 00:50:11 +09:00
Omnikar
6da2174e14
Allow paste commands to take a count ( #1261 )
...
* Allow paste commands to take a count
* Call `.repeat` within iterator methods
* Implement counts for paste-replace
2021-12-14 17:49:29 +09:00
Blaž Hrastnik
4527d63a65
fix: rust: disable unresolved-proc-macro
...
Since we disabled proc macro expansion, disable the related info
level lint:
https://users.rust-lang.org/t/how-to-disable-rust-analyzer-proc-macro-warnings-in-neovim/53150/3
2021-12-14 13:58:26 +09:00
Midnight Exigent
e188926138
Fix panic when scrolling through completion popup ( #1260 )
...
* fix(completion_popup): Fixes #1256
* Update helix-term/src/ui/completion.rs
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2021-12-14 10:14:23 +09:00
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>
2021-12-14 09:34:11 +09:00
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>
2021-12-14 09:33:43 +09:00
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>
2021-12-14 09:33:30 +09:00
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>
2021-12-14 09:26:07 +09:00
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>
2021-12-14 09:25:31 +09:00
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
2021-12-14 00:58:58 +09:00
Blaž Hrastnik
730d3be201
Add ui.gutter to theme all gutters (i.e. set bg)
2021-12-14 00:52:15 +09:00
NNB
c7ace15fd4
Add ui.gutter
theming
2021-12-14 00:48:45 +09:00
Omnikar
cce34feb4e
Assume true color support on Windows
2021-12-14 00:48:45 +09:00
Omnikar
42e6d96a75
Use base16_tty
as 16-color default, fix theme name
2021-12-14 00:48:45 +09:00
NNB
d9727868dd
change to .unwrap_or_default() and fix ui.window and ui.statusline
2021-12-14 00:48:45 +09:00
NNB
3080be8268
Fix error color, add tty theme
2021-12-14 00:48:45 +09:00
NNB
a9a9d498e8
Update theme.rs
2021-12-14 00:47:30 +09:00
NNB
cff5344a13
Rename base16_theme.toml to base16_terminal.toml
2021-12-14 00:47:30 +09:00
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`
2021-12-14 00:47:18 +09:00
NNB
43d17c482c
Fix Base16 Dark, add Base16 Light and Terminal
...
Improve accuracy with line number and cursor color
2021-12-14 00:47:02 +09:00
Blaž Hrastnik
7ad8eaaef0
wip
2021-12-14 00:41:51 +09:00
Blaž Hrastnik
b25d453f64
minor: Shorten goto file(s) descriptions
2021-12-13 14:36:53 +09:00
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
2021-12-12 21:16:48 +09:00
ath3
3156577fbf
Open files with spaces in filename, allow opening multiple files ( #1231 )
2021-12-12 21:13:33 +09:00
Blaž Hrastnik
3307f44ce2
ui: popup: Don't allow scrolling past the end of content
2021-12-10 19:23:58 +09:00
Omnikar
b66d3d3d9d
Add save_selection
command ( #1247 )
2021-12-10 11:46:24 +09:00
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`.
2021-12-10 11:04:31 +09:00
Blaž Hrastnik
df3b88387b
dap: Improve variables UI
2021-12-09 11:28:53 +09:00
Blaž Hrastnik
dac317e620
TODO
2021-12-09 10:55:32 +09:00
Blaž Hrastnik
60c86eff89
dap: Simplify a few more statements that could use the debugger macro
2021-12-09 10:55:32 +09:00
Oskar Nehlin
a1e64815cb
Update book to include typable command remapping ( #1240 )
...
* Update book to include typable command remapping
* Add additional example
2021-12-09 00:26:33 +09:00
Kirawi
29c053e84e
Only use a single documentation popup ( #1241 )
2021-12-08 16:11:18 +09:00
Gokul Soumya
d08bdfa838
Use same name used in config files for langs in docs
2021-12-08 10:23:50 +09:00
Gokul Soumya
70c989e122
Add github action to lint unmerged docs
2021-12-08 10:23:50 +09:00
Gokul Soumya
a78b789406
Auto generate docs for language support
2021-12-08 10:23:50 +09:00
Gokul Soumya
71292f9f11
docs: Auto generate command list
2021-12-08 10:23:50 +09:00
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
2021-12-08 10:22:55 +09:00
Blaž Hrastnik
d8351d35ab
dap: Extract a macro that fetches a debugger or returns
2021-12-08 00:59:11 +09:00
Blaž Hrastnik
e98993d609
dap: Fix an off-by-one error when jumping
2021-12-08 00:22:48 +09:00
Omnikar
178cd5ecfc
Add note to keymap.md
regarding format_selections
( #1230 )
2021-12-07 01:44:50 +09:00