Commit Graph

5911 Commits (b7b8d9f67298b027d6e128f2c17b289eb600d8b2)
 

Author SHA1 Message Date
Matthias Deiml 0ee2061102
Avoid copying fragments ()
* Avoid copying fragments

* Add slice / slices method

* Better documentation for fragment and slice methods
Omnikar afd292e3b9
Resolve clippy lints ()
Michael Davis 5d33dbacac
add a CLI flag for specifying config file location ()
PiergiorgioZagaria 219d2c2515
Change default formatter for any language ()
* Change default formatter for any language

* Fix clippy error

* Close stdin for Stdio formatters

* Better indentation and pattern matching

* Return Result<Option<...>> for fn format instead of Option

* Remove unwrap for stdin

* Handle FormatterErrors instead of Result<Option<...>>

* Use Transaction instead of LspFormatting

* Use Transaction directly in Document::format

* Perform stdin type formatting asynchronously

* Rename formatter.type values to kebab-case

* Debug format for displaying io::ErrorKind (msrv fix)

* Solve conflict?

* Use only stdio type formatters

* Remove FormatterType enum

* Remove old comment

* Check if the formatter exited correctly

* Add formatter configuration to the book

* Avoid allocations when writing to stdin and formatting errors

* Remove unused import

Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
Charlie Groves c5f8a835f5
Add a .ignore file to make ripgrep more useful ()
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Alexander Brevig 6e7774bb79
Add .gitattributes ()
Charlie Groves 4b6c4ae6ee
Fix LF line-endings ()
Matthias Deiml 6b244e2fef
Exclude only named children without injection.include-children ()
* Exclude only named children without injection.include-children

* Add injection.include-unnamed-children parameter
Michael Davis 08b442f4cc
Inherit javascript/typescript from common 'ecma' queries ()
JavaScript queries now contain a few lines that prevent them from
being used whole-sale in typescript with `; inherits: javascript`.
Here we follow nvim-treesitter's way of using a fake 'ecma' language
as a common base for JavaScript and TypeScript to share as much as
we can.
Kirawi 69f84e2516
theme `ui.virtual.indent-guide` in `dark_plus` ()
yvt aa4394ce12 chore(ci): match `*-macos` by checking suffix
Simplifies a conditional expression in the CI workflow configuration.

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
yvt 6d16d2cbc9 feat: support grammar cross-compilation
yvt f6f054ae5b fix(loader): pass `cc::Tool::args()`
Certain targets, such as `aarch64-apple-*`, require additional compiler
flags to cross-compile for the intended target.
yvt 4461090c3d chore(ci): build binary for aarch64-macos
The tests are conditionally disabled for this target because the x86_64 CI
host is unable to run AArch64 binaries. (There is no officially-supported
reverse Rosetta 2.)
dependabot[bot] eef9eff20d
build(deps): bump pulldown-cmark from 0.9.1 to 0.9.2 ()
Bumps [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/raphlinus/pulldown-cmark/releases)
- [Commits](https://github.com/raphlinus/pulldown-cmark/compare/v0.9.1...v0.9.2)

---
updated-dependencies:
- dependency-name: pulldown-cmark
  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>
dependabot[bot] f3a3b09337
build(deps): bump similar from 2.1.0 to 2.2.0 ()
Bumps [similar](https://github.com/mitsuhiko/similar) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/mitsuhiko/similar/releases)
- [Changelog](https://github.com/mitsuhiko/similar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/similar/compare/2.1.0...2.2.0)

---
updated-dependencies:
- dependency-name: similar
  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>
dependabot[bot] d07d694fe7
build(deps): bump serde from 1.0.140 to 1.0.141 ()
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.140 to 1.0.141.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.140...v1.0.141)

---
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>
dependabot[bot] 9643556376
build(deps): bump anyhow from 1.0.58 to 1.0.59 ()
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.58...1.0.59)

---
updated-dependencies:
- dependency-name: anyhow
  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>
dependabot[bot] f4b1f9af9a
build(deps): bump arc-swap from 1.5.0 to 1.5.1 ()
Bumps [arc-swap](https://github.com/vorner/arc-swap) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/vorner/arc-swap/releases)
- [Changelog](https://github.com/vorner/arc-swap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vorner/arc-swap/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: arc-swap
  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>
Eric K d693b37445
Modified restore_term fn in application.rs. Changed '\x1B[2 q' to '\x1B[0 q' to restore cursor to user default after exiting helix ()
ChrHorn 11367488ac
Improve Python queries, add locals ()
ChrHorn 0c08ff1596
update catppuccin theme(s) to new palettes ()
ChrHorn 59bf1669ec
javascript queries: fix parameters ()
Alexander Brevig 07019c3905
fix: gruvbox color modes ()
* fix: gruvbox color modes

* increase contrast, and use blue and not purple
Charlie Groves 9f4802e101
Only add cargo-tarpaulin on x86_64 ()
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
A-Walrus c15b494288
Fix align_selection behaviour with tabs ()
Banst 7e06681413
feat: add cue support ()
Danilo Spinella 110eb73045
Add cwd parameter which is not optional anymore ()
Danilo Spinella ab616ab718
Add rust-version (MSRV) to helix-term package ()
Amit Beka fe3a9a868e
clipboard: add logging and healthcheck ()
* add logging to clipboard setup

* healthcheck: add clipboard provider name

Co-authored-by: amitbeka <--->
Alexander Brevig e405e88c86
Flatwhite Theme ()
Erasin 919edfb323
Add Graphviz Dot lang support ()
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
A-Walrus 5ca98edfb1
Don't add empty prompt input to history ()
Gokul Soumya a8b123fe17
Fix byte index error in signature help highlighting
The language server sends a char offset range within the
signature help label text to highlight as the current parameter,
but helix uses byte offset ranges for rendering highlights. This
was brought up in the [review of the original signature help PR][1],
but the ranges were being highlighted correctly, and there were no
out of bound or indexing panics. Turns out rust-analyzer was
[incorrectly sending byte offsets] instead of char offsets and this
made it seem like all was well and good with offsets in helix during
initial testing.

[1]: https://github.com/helix-editor/helix/pull/1755#discussion_r906715371
[2]: https://github.com/rust-lang/rust-analyzer/pull/12272
Slug 14eca318a7
Add transparent theme based on base16_default ()
Erasin a1c969012d
Fix cursorline and selection themes for onelight ()
Erasin 681c0a91dc
Add textobject for javascript ()
Kyle L. Davis cca83af3fd
Update README command table ()
Michael Davis 9ed9c3faca
Remove let_declaration from Rust locals tracking ()
Philipp Mildenberger bf74a4652d
JS/TS highlighting improvements ()
Yusuf Bera Ertan 85a5df0391
build(nix): add a way to override what grammars get built ()
Ricardo Silva 2f1d3d0899
Add LSP config for Odin ()
MilanVasko 9a49623721
Use OR of all selections in search_selection command ()
Closes 
Seth Bromberger 846a6b65c3
add configurable / theme-able statusline separator string ()
* add configurable separator element to statusline

* themable separator

* clippy fixes

* changed default separator to │

* doc updates
A-Walrus 61856f1d64
Nord color modes ()
* Add color modes to nord theme

* Add color-modes to nord_light theme and fixup

Fg color was not set in some places and defaulted incorrectly.
Erasin df5ab8b40c
Fix: Python hightlight ()
Seth Bromberger 3dd2196e4f
add position-percentage as a statusline indicator ()
* added position-pct as a statusline indicator

* removed unnecessary mutable reference

* pct -> percent

* percent -> percentage
Gokul Soumya de8ade8967
Shorten embedded command descriptions ()
* Shorten embedded command descriptions

- Compact descriptions in command palette and infobox

* Shorten typed command descriptions

* Fix typo in decrement command description
Erasin 42115d02bc
Suport diagnostic code ()
* add code for diagnostic.

This PR provides a solution to resolve . missing Code Actions for lsp

* remote unused import
n0s4 4f21f430e4 Remove vale from .gitignore