trivernis
bd32cb3114
Add --show-explorer cli arg
1 year ago
trivernis
432522e724
Add update of selected file in explorer when switching buffers
1 year ago
wongjiahau
cf9669f276
fix(ci): clippy error
1 year ago
wongjiahau
88ac941407
Merge branch 'master' of https://github.com/helix-editor/helix into tree_explore
1 year ago
Alexis-Lapierre
9a65118899
Recognize .cts and .mts file type as TypeScript ( #6424 )
...
TypeScript can use three type of file extensions:
- .ts for regular TypeScript
- .cts for CommonJS modules
- .mts for ES modules
Official documentation on supported file extensions:
https://www.typescriptlang.org/docs/handbook/esm-node.html#new-file-extensions
1 year ago
Juan C. Müller
6acd200028
Fix spelling of diagnostics ( #6418 )
1 year ago
Sebastian Zivota
e399bbc379
dracula theme: style wrap indicator like whitespace ( #6414 )
1 year ago
wongjiahau
f37c795c96
chore(ui/prompt): use &str instead of Cow<str>
...
- Resolve https://github.com/helix-editor/helix/pull/5768/files#r1140994104
1 year ago
Aleksey Kuznetsov
2904a10fb1
Add xib and storyboard file types ( #6407 )
1 year ago
Pascal Kuthe
f9a25a7e09
detailed snippet tests
1 year ago
Pascal Kuthe
85c9dbf603
accept bracket snippet variables without default
1 year ago
Pascal Kuthe
47420db516
accept empty snippet regex replace elements
1 year ago
Pascal Kuthe
617f09adc4
fix single-char variable names
1 year ago
Pascal Kuthe
cabb746b7d
do not fail snippet parsing when control chars are not explicitly escaped
1 year ago
wongjiahau
eebff622de
chore(doc/configuration/explorer/position): remove `overlay` option
1 year ago
wongjiahau
a331e52971
chore(keymap): remove "<space>E"
...
- Personally, I never uses this shortcut
- Secondly, we are running out of keys for mappings, so I would like to
reserve "<space>E" for other more useful mappings
1 year ago
wongjiahau
f5aec54fe2
chore(commands): revert accidental typo
...
- Resolve https://github.com/helix-editor/helix/pull/5768/files#r1143859919
1 year ago
wongjiahau
33542e9ddb
refactor: remove unnecessary dev-dependencies
...
- Resolve https://github.com/helix-editor/helix/pull/5768/files#r1126720143
1 year ago
wongjiahau
898c1670d1
fix(integration-test/test_goto_file_impl): failing due to untested changes
1 year ago
wongjiahau
404f950b09
fix(tests/explorer/new_folder): failing on Windows
...
Co-authored-by: LEI <github@lei.sh>
Reference: https://github.com/helix-editor/helix/pull/5768#discussion_r1143991188
1 year ago
dependabot[bot]
52ced7e85f
build(deps): bump bitflags from 1.3.2 to 2.0.2 ( #6387 )
...
* build(deps): bump bitflags from 1.3.2 to 2.0.2
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 1.3.2 to 2.0.2.
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/1.3.2...2.0.2 )
---
updated-dependencies:
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: Resolve bitflags 2.0 breaking changes
Bitflags 2.0 release made some breaking changes requiring some small
changes to the Helix codebase.
Almost all of the necessary changes are to manually `#[derive(..)]`
trait implementations which are no longer automatically derived for
all bitflags. All of these were previously automatically derived:
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone, Copy]
I have derived the minimum traits for each bitflag type.
The other change was to the `.bits` field. This is now a `.bits()`
method so the usage of this has been updated in the `Borders` type.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
1 year ago
Francesc Elies
05ee673197
Show diagnostic codes for LSP diagnostics ( #6378 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
1 year ago
Thor Adam
346ddd4735
Add `switch_statement` to ecma indents ( #6369 )
1 year ago
zetashift
0e0c16e6fa
Add initial Smithy support ( #6370 )
1 year ago
Kristoffer Flottorp
b0ceac608e
fleet-dark improvements ( #6375 )
...
Co-authored-by: krfl <kr.fl@outlook.com>
1 year ago
dependabot[bot]
6d5fa2045a
build(deps): bump serde from 1.0.152 to 1.0.158 ( #6386 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.152 to 1.0.158.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.158 )
---
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>
1 year ago
dependabot[bot]
68cfc1d6ae
build(deps): bump futures-executor from 0.3.26 to 0.3.27 ( #6388 )
...
Bumps [futures-executor](https://github.com/rust-lang/futures-rs ) from 0.3.26 to 0.3.27.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.26...0.3.27 )
---
updated-dependencies:
- dependency-name: futures-executor
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>
1 year ago
dependabot[bot]
2f4eac28e5
build(deps): bump indoc from 1.0.9 to 2.0.1 ( #6385 )
...
Bumps [indoc](https://github.com/dtolnay/indoc ) from 1.0.9 to 2.0.1.
- [Release notes](https://github.com/dtolnay/indoc/releases )
- [Commits](https://github.com/dtolnay/indoc/compare/1.0.9...2.0.1 )
---
updated-dependencies:
- dependency-name: indoc
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
sarah
28632c6cee
Run shell commands asynchronously ( #6373 )
1 year ago
not
9eb11214b1
theme(rose-pine): add inlay hints ( #6384 )
...
* add `ui.virtual.inlay-hint`
* normalise line endings
1 year ago
Gautam Panchal
3da63fa481
Add instructions for installing via AppImage ( #6368 )
1 year ago
Skyler Hawthorne
4bdeb9927b
migrate test_with_config to use AppBuilder
1 year ago
Skyler Hawthorne
d3b051d28e
fix test::plain
...
test::plain uses char indices when it should use byte indices
1 year ago
Skyler Hawthorne
58ea193054
Allow explicit newlines in test DSL
...
The current test DSL currently has no way to express being at the end of
a line, save for putting an explicit LF or CRLF inside the `#[|]#`. The
problem with this approach is that it can add unintended extra new lines
if used in conjunction with raw strings, which insert newlines for you.
This is a simple attempt to mitigate this problem. If there is an
explicit newline character at the end of the selection, and then it
is immediately followed by the same newline character at the right end
of the selection, this following newline is removed. This way, one can
express a cursor at the end of a line explicitly.
1 year ago
Skyler Hawthorne
a264faa98d
refactor test editor config
1 year ago
Skyler Hawthorne
1db252913b
print doc state during tests
1 year ago
Skyler Hawthorne
5b07ce76fc
make TestCase::From more generic
1 year ago
Skyler Hawthorne
8c5ec95ac0
factor write command tests to own module
1 year ago
pithlessly
78613ac0f2
Disable auto-pairing ' by default in OCaml ( #6381 )
...
Since OCaml uses 'a syntax for type variables, the editor shouldn't insert a
second ', for the same reason as Rust.
1 year ago
varon
05e7862e8f
Update nord with inlay-hints ( #6376 )
1 year ago
Aaron Bull Schaefer
203cf1a919
Document `ui.highlight` theme key ( #6372 )
...
This scope was added via bf5b9a9f35
1 year ago
exp80
770496511c
Fix highlighting in picker with multiple columns ( #6333 )
1 year ago
angelodlfrtr
ac2a7731a6
Add language support for Cap’n Proto format ( #6325 )
1 year ago
wongjiahau
ee34720a31
style(explorer): move title to statusline
...
- so that the UI is more consistent with other component of the editor
- also it may improve the focus indication
1 year ago
wongjiahau
1be2ac286b
fix(ui/explorer): tree search cursor not rendered
1 year ago
Sora
9f5374bf47
Update tokyo-night with inlay-hints ( #6349 )
1 year ago
Yutaro Ohno
bd473928ae
theme: update adwaita-dark for bufferline ( #6342 )
...
The adwaita-dark theme has no distinction between active and inactive
buffers on a bufferline. Add contrast to clarify differences.
1 year ago
VuiMuich
a07655d55b
Update Serika themes for inlay-hints ( #6344 )
1 year ago
Erasin Wang
b20cf15eef
Update queries for makefile ( #6339 )
...
- update variable and ref as paramter
- add target as constant
- add inject for shell_text
1 year ago
wongjiahau
e5dfde2a9b
refactor(explorer): remove overlay option
1 year ago