Igor Cohanovschi
9c15d4fade
Removed unused fields. Renamed style names to be in line with other ui.editor styles
2 years ago
Igor Cohanovschi
9bd9e4cc42
Added icons and light styling to tree_explorer
2 years ago
Joe
0c9594e41e
Add SCSS language support ( #3074 )
2 years ago
Alex Kim
bcacc703d7
fix wrong value for cursor shape config in the docs ( #3081 )
2 years ago
Benoît Cortier
333ab27837
feat(term): uniformize word-wise movement and deletion ( #2500 )
...
Ctrl-based shortcuts are common in numerous applications.
This change:
- Adds Ctrl+{Left/Right/Backspace/Delete} for word-wise movement/deletion in prompt, picker, …
- Removes Alt-Left and Alt-Right in prompt, picker, …
- Adds Alt-Delete in insert mode for forward word deletion
In some terminals, Alt-Backspace might not work because it is ambigous.
See: https://github.com/helix-editor/helix/pull/2193#issuecomment-1105042501
Hence, Alt alternative is not removed.
2 years ago
Bob
8681fb6d9e
respect count in treesitter movement ( #3058 )
2 years ago
Bob
4418924ec3
respect count for selecting next/previous match ( #3056 )
2 years ago
Bob
e6a6e251c5
respect count for repeating motion ( #3057 )
2 years ago
Termina94
3cced1e3c8
Add cursorline colour to darkplus theme ( #3054 )
...
Co-authored-by: Dean Revell <revell@gmail.com>
2 years ago
0rphee
7951ebfd4d
[Theme] Noctis ( #3043 )
2 years ago
Mateusz S. Szczygieł
5f69beb87f
Add textobjects.scm to GLSL ( #3051 )
2 years ago
Philipp Mildenberger
e97b8607c1
Added ungrammar language support ( #3048 )
2 years ago
dependabot[bot]
fb62569785
build(deps): bump regex from 1.5.5 to 1.6.0 ( #3041 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.5 to 1.6.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.5...1.6.0 )
---
updated-dependencies:
- dependency-name: regex
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>
2 years ago
dependabot[bot]
930f98053e
build(deps): bump serde from 1.0.138 to 1.0.139 ( #3040 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Igor Cohanovschi
e1bf96f25f
fixed compilation issue
2 years ago
cossonleo
0f4cfa0fe7
optimize tree explore render
2 years ago
cossonleo
10cd4c56c9
tree helper and file explorer
2 years ago
Austen LeBeau
0cb0c30618
add fortran language ( #3025 )
2 years ago
Slug
e109022bfd
fix: error that caused usize to overflow ( #3024 )
...
* fix: error that caused usize to overflow
* update: changed check_sub to saturating_sub
2 years ago
Timothy DeHerrera
718c3baebe
nix: pass makeWrapperArgs to wrapProgram ( #3003 )
2 years ago
Timothy DeHerrera
fefa4d8c59
nix flake: make the binary cache "just work" ( #2999 )
2 years ago
Amit Beka
6100b1ba08
book: add wiki links to the title page and install page ( #3017 )
...
Co-authored-by: amitbeka <--->
2 years ago
Gokul Soumya
21b66ba068
lsp: Add workspace/applyEdit to client capabilites ( #3012 )
...
The functionality already existed, but the capability wasn't being
reported correctly to the server:
230ba264bf/helix-term/src/application.rs (L716-L728)
2 years ago
Gokul Soumya
b7a3531b8f
theme(onedark): Remove bg for window separator ( #3011 )
2 years ago
Jake Langford
230ba264bf
Introduce storage highlighting for typescript/javascript ( #2961 )
2 years ago
Ivan Tham
e35abe38f3
Remove broken ledger tag highlight ( #2988 )
2 years ago
Gokul Soumya
af35c62407
Show file path only in workspace diagnostic picker
2 years ago
Gokul Soumya
a43bcc8765
Display error code only if not none
2 years ago
Gokul Soumya
0c104685c0
Sub sort diagnostics by line number
2 years ago
Gokul Soumya
2c37e25cb5
Display diagnostic text before code in picker
2 years ago
Gokul Soumya
c4e022971d
Remove source from diagnostic picker display
...
It is usually the name of the LSP and doesn't add much
useful information.
2 years ago
Erin van der Veen
e0cf19c612
Update tree-sitter-nickel ( #2987 )
2 years ago
A-Walrus
1378b911b6
Fix some typos ( #2978 )
2 years ago
Ivan Tham
b612211070
Update tree-sitter-ledger ( #2936 )
2 years ago
Michael Davis
aacd0c8aa5
Update TSQ queries ( #2960 )
...
A few changes to make TSQ highlights better:
* A parsing error has been fixed in the grammar itself
* Previously tree-sitter-tsq did not parse the variables
in predicates like `(#set! injection.language "javascript")`
* Theme nodes as `tag`
* The newly added node to the parser (from the above fix) is
`variable` which takes over the `variable` capture from nodes
* Highlight known predicates as `function` and unsupported
predicates as `error`
* This may help when translating queries from nvim-treesitter.
For example `#any-of?` is a common one used in nvim-treesitter
queries but not implemented in Helix or tree-sitter-cli.
* Inject tree-sitter-regex into `#match?` predicates
2 years ago
Matthew Toohey
d78354c537
add language `idris` ( #2971 )
2 years ago
Joe
b26e7e2e8f
Add live preview to theme picker ( #1798 )
...
* Add theme picker with live preview
* Add live theme preview to :theme command
* cargo fmt
* Fix clippy warnings
* Remove picker variant
* Remove unused import
* Cleanup
* Change current_theme to last_theme
* Fix accidental comment flash deletion
* Typo
* Remove theme cache
* Add some comments
* Refactor some theme handling
TIL flatmap on Option is called and_then
* Remove unnecessary renames
* Constrain last_theme theme preview lifecycle
* Switch to bitflag implementation
* Better handling of last_theme
* Sort theme names
* Better memory juggling
* Missed a branch
* Remove name from theme, switch bitand to &
* cargo fmt
* Update helix-view/src/editor.rs
* Switch boolean to enum
* Remove bitflag impl
* cargo fmt
* Remove un-needed type arg
* cargo fmt
2 years ago
Michael Davis
85411bed83
DAP: Make `cwd` required in RunTerminalArguments
...
The spec has `cwd` in `RunInTerminalRequestArguments` as non-optional:
https://microsoft.github.io/debug-adapter-protocol/specification#Reverse_Requests_RunInTerminal
2 years ago
Michael Davis
44f596334a
DAP: Skip serializing `Option`s when `None`
...
DAP follows the same strict TypeScript interface syntax as LSP
which states:
> The document uses TypeScript interfaces in strict mode to describe
> these. This means for example that a `null` value has to be explicitly
> listed and that a mandatory property must be listed even if a falsify
> value might exist.
So we have to skip serializing any fields that end in `?` instead
of passing `null`.
2 years ago
Jens Getreu
936ed3a226
Add Autumn night theme
...
Under some light conditions, one prefers a high contrast theme.
2 years ago
Jens Getreu
2e709859c4
Autumn theme: slightly adjust contrast
2 years ago
dependabot[bot]
f3e8b0f34b
build(deps): bump smallvec from 1.8.1 to 1.9.0 ( #2976 )
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.8.1...v1.9.0 )
---
updated-dependencies:
- dependency-name: smallvec
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>
2 years ago
dependabot[bot]
f3467399b7
build(deps): bump crossterm from 0.23.0 to 0.24.0 ( #2968 )
...
Bumps [crossterm](https://github.com/crossterm-rs/crossterm ) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases )
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossterm-rs/crossterm/compare/0.23...0.24 )
---
updated-dependencies:
- dependency-name: crossterm
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>
2 years ago
dependabot[bot]
ba255e3e3e
build(deps): bump serde_json from 1.0.81 to 1.0.82 ( #2966 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.81...v1.0.82 )
---
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>
2 years ago
dependabot[bot]
1fc8cbeb68
build(deps): bump log from 0.4.14 to 0.4.17 ( #2965 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.14 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.14...0.4.17 )
---
updated-dependencies:
- dependency-name: log
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>
2 years ago
dependabot[bot]
b98567f248
build(deps): bump which from 4.2.4 to 4.2.5 ( #2964 )
...
Bumps [which](https://github.com/harryfei/which-rs ) from 4.2.4 to 4.2.5.
- [Release notes](https://github.com/harryfei/which-rs/releases )
- [Commits](https://github.com/harryfei/which-rs/compare/4.2.4...4.2.5 )
---
updated-dependencies:
- dependency-name: which
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>
2 years ago
dependabot[bot]
700431d665
build(deps): bump encoding_rs from 0.8.30 to 0.8.31 ( #2963 )
...
Bumps [encoding_rs](https://github.com/hsivonen/encoding_rs ) from 0.8.30 to 0.8.31.
- [Release notes](https://github.com/hsivonen/encoding_rs/releases )
- [Commits](https://github.com/hsivonen/encoding_rs/compare/v0.8.30...v0.8.31 )
---
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>
2 years ago
dependabot[bot]
c88d736d5c
build(deps): bump once_cell from 1.12.0 to 1.13.0 ( #2969 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.12.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: once_cell
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>
2 years ago
dependabot[bot]
a679efa8ce
build(deps): bump serde from 1.0.136 to 1.0.138 ( #2967 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.136 to 1.0.138.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.138 )
---
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>
2 years ago
Skyler Hawthorne
f392e35439
feat(theme): solarized: add cursorline, ruler, indent guide ( #2962 )
2 years ago