Commit Graph

5348 Commits (f99356dfe7e72e95e436c69afbe46435242b4c44)
 

Author SHA1 Message Date
JR f99356dfe7
Update runtime/tutor
Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
9 months ago
JR baf347bc5c
Update runtime/tutor
Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
9 months ago
JR 467bfeb3a7
Update runtime/tutor
Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
9 months ago
JR e6cbf43a80
Update runtime/tutor
Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
9 months ago
JR 4868fdec08
Update runtime/tutor
Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
9 months ago
JR 2d5d8c59e8
Update runtime/tutor
Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
9 months ago
JR dff604a203
Update runtime/tutor
Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
9 months ago
JR 49d391b337
Update runtime/tutor
Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
9 months ago
JR f6ac52c837
Update runtime/tutor
Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
9 months ago
JR a065c580e3
Update runtime/tutor
Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
9 months ago
JR 8aa30d1555
Update runtime/tutor
Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
9 months ago
JR 587909e9aa Fix right drift of titles 9 months ago
JR 93cf252271 Do not mention starting in normal mode 9 months ago
JR 2b65b4b80e Remove mention of arrows in split tutorial 9 months ago
JR 6bce00ce3c
Merge branch 'helix-editor:master' into doc/tutor-split2 9 months ago
JR 357faf88df
Update runtime/tutor
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
9 months ago
JR ea78b6f9a6
Update runtime/tutor
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
9 months ago
JR 9dc1ffd20e
Update runtime/tutor
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
9 months ago
JR c24a9920cd
Update runtime/tutor
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
9 months ago
JR f85cd70184
Update runtime/tutor
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
9 months ago
JR 1db25eaf13
Update runtime/tutor
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
9 months ago
Blaž Hrastnik ad7b7bc804
minor: Fix compilation 9 months ago
ontley 6a90166d0a
Add required-root-patterns for situational lsp activation (#8696)
* Added required-root-patterns for situational lsp activation using globbing

* Replaced filter_map with flatten

* updated book to include required-root-patterns option

* fixed wrong function name for path

* Added globset to helix-core. Moved globset building to config parsing.

* Normalize implements AsRef

* cargo fmt

* Revert "cargo fmt"

This reverts commit ca8ce123e8.
9 months ago
HumanEntity ac8d1f62a1
sonokai: Add color modes support and change contrast between ruler and bg (#9376)
* Added `editor.color-modes` option support

* Less contrast between bg and ruler
9 months ago
Jimmy Zelinskie d9f7aaacaf
languages: add CEL, SpiceDB schema language (#9296)
* languages: add CEL language and grammar

* languages: add spicedb schema language

* chore: docgen

* runtime/queries: refine spicedb & cel highlights

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* languages: update spicedb

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
9 months ago
dependabot[bot] 7d8ce1a400
build(deps): bump tempfile from 3.9.0 to 3.10.0 (#9538)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.9.0 to 3.10.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.9.0...v3.10.0)

---
updated-dependencies:
- dependency-name: tempfile
  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>
9 months ago
7ombie 204c3707b0
Updated Swift grammar, adding 'any' and 'await' keywords. (#9586) 9 months ago
dependabot[bot] 13b9885084
build(deps): bump tokio from 1.35.1 to 1.36.0 (#9540)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.1...tokio-1.36.0)

---
updated-dependencies:
- dependency-name: tokio
  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>
9 months ago
Kirawi 786b5c533e
follow neovim's truecolor detection (#9577) 9 months ago
Galen Abell 581a1ebf5d
Add glob file type support (#8006)
* Replace FileType::Suffix with FileType::Glob

Suffix is rather limited and cannot be used to match files which have
semantic meaning based on location + file type (for example, Github
Action workflow files). This patch adds support for a Glob FileType to
replace Suffix, which encompasses the existing behavior & adds
additional file matching functionality.

Globs are standard Unix-style path globs, which are matched against the
absolute path of the file. If the configured glob for a language is a
relative glob (that is, it isn't an absolute path or already starts with
a glob pattern), a glob pattern will be prepended to allow matching
relative paths from any directory.

The order of file type matching is also updated to first match on globs
and then on extension. This is necessary as most cases where
glob-matching is useful will have already been matched by an extension
if glob matching is done last.

* Convert file-types suffixes to globs

* Use globs for filename matching

Trying to match the file-type raw strings against both filename and
extension leads to files with the same name as the extension having the
incorrect syntax.

* Match dockerfiles with suffixes

It's common practice to add a suffix to dockerfiles based on their
context, e.g. `Dockerfile.dev`, `Dockerfile.prod`, etc.

* Make env filetype matching more generic

Match on `.env` or any `.env.*` files.

* Update docs

* Use GlobSet to match all file type globs at once

* Update todo.txt glob patterns

* Consolidate language Configuration and Loader creation

This is a refactor that improves the error handling for creating
the `helix_core::syntax::Loader` from the default and user language
configuration.

* Fix integration tests

* Add additional starlark file-type glob

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
9 months ago
Android789515 d570c29ce3
expand upon the arch linux install instructions (#9574)
Signed-off-by: Android789515 <derflug@mailfence.com>
9 months ago
Matouš Dzivjak d137a08231
feat(languages): pkl (#9515)
* feat(languages): pkl

Add [pkl](https://github.com/apple/pkl) language.
Official documentation: https://pkl-lang.org/

* remove branch indent
9 months ago
ath3 f8e2d822ba
Fix scroll track (#9508) 9 months ago
Tobias Hunger a1272bdb17
slint: Update treesitter parser and queries (#9551)
* slint: Update treesitter parser and queries

* slint: Port over suggestions from nvim review
9 months ago
Michael Davis bbcc89241f Fix pulldown_cmark breaking changes to tag types
* Tags and TagEnd are now separate enums since
  <https://redirect.github.com/raphlinus/pulldown-cmark/pull/517>.
* The `Tag::Heading` member has been changed from a tuple variant to a
  struct variant.
9 months ago
dependabot[bot] 630d91168a build(deps): bump pulldown-cmark from 0.9.6 to 0.10.0
Bumps [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark) from 0.9.6 to 0.10.0.
- [Release notes](https://github.com/raphlinus/pulldown-cmark/releases)
- [Commits](https://github.com/raphlinus/pulldown-cmark/compare/v0.9.6...v0.10.0)

---
updated-dependencies:
- dependency-name: pulldown-cmark
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
9 months ago
dependabot[bot] 72c508de24
build(deps): bump libc from 0.2.152 to 0.2.153 (#9541)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
Bogdan Agica c64a0e615b
Revert "build(deps): bump cc from 1.0.83 to 1.0.84 (#8809)" (#9548) 9 months ago
eh 28a39e6efc
Fix cursorline Zed OneDark (#9549)
Co-authored-by: e4 <eric.correia@dronesense.com>
10 months ago
Diego a37af2dcbf
fix division by zero when prompt completion area is too small (#9524) 10 months ago
eh 1d87c6a999
Update colors used for zed themes (#9544)
Official colors used is now publically available: https://github.com/zed-industries/zed/blob/main/assets/themes/one/one.json
Modified the theme to more accurately reflect the actual colors being used.

Co-authored-by: e4 <eric.correia@dronesense.com>
10 months ago
Matouš Dzivjak 0975d9c5e7
feat(languages): golang comments and numeric types (#9525) 10 months ago
jerabaul29 a04d57aae8 Minor updates 10 months ago
Doug Kelkhoff 5c567f31e2
Adding two themes using only colors from 16-color terminal themes (#9477)
* adding 16-color terminal themes

* minor consistency update

* minor consistency update

* rename to be more consistent with other helix theme name conventions

* fixing improper theme inherits name
10 months ago
zetashift 6e3ed7f0fa
Update Unison tree-sitter grammar for type changes and add indent queries (#9505)
* Update Unison tree-sitter grammar for type changes

* Add indent queries for Unison

* Improve Unison indent queries
10 months ago
Jaakko Paju 75d61d8149
Improve tree-sitter queries for Scala (#9475)
- Simplify function highlighting
- Highlight extension methods
- Textobject query (mia/maa) for class/trait constructor parameters/arguments
- Textobject query (mif/maf) for Scala 3 braceless lambdas
10 months ago
Novus Nota d1054de3ce
feat: Add `Tact` language support (#9512)
Re-submitting
10 months ago
Devyn Cairns 3f380722fb
Update grammars for Nushell to rev 358c4f50 (#9502) 10 months ago
Matouš Dzivjak d545452819
feat(queries): regex injection for golang (#9510) 10 months ago
jerabaul29 46e6fc6d8a Fix typos 10 months ago