Gokul Soumya
d52eda5d1b
Improve yaml syntax highlighting highlighting ( #1294 )
3 years ago
Sebastian Neubauer
6d183b2154
Fix tree-sitter-llvm submodule ( #1298 )
...
Fix the path to the submodule and init the submodule.
3 years ago
Ivan Tham
f174d27d0d
Change text for gg to explain <n>gg ( #1287 )
3 years ago
Kirawi
02fc52f6d5
Apply recent nightly suggestions ( #1286 )
...
array iterators are now implicit
3 years ago
Blaž Hrastnik
a66833590c
cargo xtask docgen
3 years ago
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>
3 years ago
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
3 years ago
Gokul Soumya
d4fb1d0633
Merge branch 'master' into cursor-shape-new
3 years ago
Gokul Soumya
016640f4fb
Remove ui.cursor.primary and hashmap lookups
3 years ago
Chetan Vardhan
3ef115d420
Add instructions for Fedora Linux ( #1270 )
...
* Add instructions for Fedora Linux
* Update README.md
* Update install.md
3 years ago
Blaž Hrastnik
5d91335d6b
Fix more highlight scopes
3 years ago
Blaž Hrastnik
9c484e88cf
highlights: @include -> @keyword.control.import
3 years ago
Blaž Hrastnik
78b6155292
Partly fix julia's locals.scm
3 years ago
ath3
a8060c06d1
Add indents.toml to perl ( #1280 )
3 years ago
WindSoilder
0c447151cf
In README, add example for windows config directory ( #1273 )
...
* better doc for windows user
* fix doc
3 years ago
Blaž Hrastnik
ac4b72fcc8
Add injections query for markdown
3 years ago
Blaž Hrastnik
40969ad452
Partly fix latex highlights and add markup scope docs
3 years ago
Blaž Hrastnik
9bfb701c94
Update lang-support.md
3 years ago
Blaž Hrastnik
49e0678741
Add markdown grammar
...
Fixes #215
3 years ago
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
3 years ago
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
3 years ago
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>
3 years ago
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
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
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