Gokul Soumya
d52eda5d1b
Improve yaml syntax highlighting highlighting ( #1294 )
2021-12-19 10:20:52 +09:00
Sebastian Neubauer
6d183b2154
Fix tree-sitter-llvm submodule ( #1298 )
...
Fix the path to the submodule and init the submodule.
2021-12-19 09:46:47 +09:00
Ivan Tham
f174d27d0d
Change text for gg to explain <n>gg ( #1287 )
2021-12-18 20:28:17 +05:30
Kirawi
02fc52f6d5
Apply recent nightly suggestions ( #1286 )
...
array iterators are now implicit
2021-12-18 14:57:49 +09:00
Blaž Hrastnik
a66833590c
cargo xtask docgen
2021-12-18 13:42:41 +09:00
Luke Jones
edf3c70c30
Add dart lsp config and queries ( #1250 )
...
* Add language: dart
The setup requires that dart be in the users path, such as:
```
export PATH="$HOME/Android/flutter/bin/cache/dart-sdk/bin/:$PATH"
```
Refactor the dart highlights
* lang: dart: add indents and locals
* lang: dart: corrections to local scope
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2021-12-18 13:41:32 +09:00
Oliver Hechtl
0683f0a20a
Add scala syntax highlights ( #1278 )
...
* add partial scala syntax highlights
* ran cargo xtask docgen
* updated tree-sitter-scala, fixed highlights
* fix comments
* move identifier to the end of the highlights
* add indents
2021-12-18 13:40:34 +09:00
Gokul Soumya
d4fb1d0633
Merge branch 'master' into cursor-shape-new
2021-12-18 08:33:15 +05:30
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
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
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