aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* LSP: Normalize diagnostic file pathsMichael Davis2024-02-25
|
* LSP: Key diagnostics off file path instead of URIMichael Davis2024-02-25
| | | | | | | | | URIs need to be normalized to be comparable. For example a language server could send a URI for a path containing '+' as '%2B' but we might encode this in something like 'Document::url' as just '+'. We can normalize the URI straight into a PathBuf though since this is the only value we compare these diagnostics URIs against. This also covers edge-cases like windows drive letter capitalization.
* Don't run scheduled builds on forks (#9718)Ryan Mehri2024-02-25
|
* Optimization of tilde expansion (#9709)Mo2024-02-24
| | | | | | | | | | | | | | | | * Use next and avoid a redundant prefix strip * Avoid allocations Especially when `expand_tilde` is claled on a path that doesn't contain a tilde. * Add a test * Use Into<Cow<…>> * Put the expand_tilde test at the end of the file * Remove unused importsw
* Bump tree-sitter-sql (#9634)DS/Charlie2024-02-24
|
* Completely fix bash autocomplete handling of filenames with spaces (#9708)wr72024-02-24
|
* Add osm and osc extensions to xml language filetypes (#9697)Jake Low2024-02-24
|
* Properly handle spaces in filenames in bash autocomplete (#9702)wr72024-02-23
|
* Use a hook for resolving completion itemsMichael Davis2024-02-23
| | | | | | Previously we used the IdleTimeout event to trigger LSP `completion/resolveItem` requests. We can now refactor this to use an event system hook instead and lower the timeout.
* Cyan Light theme : Add License and Author (#9688)Abderrahmane TAHRI JOUTI2024-02-21
| | | | | | | | | * Cyan Light theme : Add License and Author * Add License Copy license from https://github.com/OlyaB/CyanTheme/blob/master/LICENSE * better credits to original author
* Use groovy support when editing Gradle files (#9681)Benedikt Ritter2024-02-21
| | | | | | | | The Gradle build tool provides two DSLs for configuring builds. On is based on Groovy and Gradle build files written in Gradle Groovy DSL use *.gradle file ending. This change adds `gradle` to the supported file types of the groovy language configuration.
* build(deps): bump textwrap from 0.16.0 to 0.16.1 (#9674)dependabot[bot]2024-02-20
| | | | | | | | | | | | | | | | Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.16.0 to 0.16.1. - [Release notes](https://github.com/mgeisler/textwrap/releases) - [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md) - [Commits](https://github.com/mgeisler/textwrap/compare/0.16.0...0.16.1) --- updated-dependencies: - dependency-name: textwrap 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>
* build(deps): bump anyhow from 1.0.79 to 1.0.80 (#9675)dependabot[bot]2024-02-20
| | | | | | | | | | | | | | | Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.79 to 1.0.80. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.79...1.0.80) --- 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>
* build(deps): bump chrono from 0.4.33 to 0.4.34 (#9673)dependabot[bot]2024-02-20
| | | | | | | | | | | | | | | | Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.33 to 0.4.34. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.33...v0.4.34) --- updated-dependencies: - dependency-name: chrono 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>
* Add Groovy grammar (#9350)Volodymyr Chernetskyi2024-02-19
| | | | | | | | | | | | | | | | | | | | | * Add Groovy grammar * Rewrite Neovim captures into Helix for Groovy * Simplify Groovy injections Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Remove Neovim's spell from Groovy highlights Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Apply suggestions to languages.toml * Escape backslash in groovy highlights.scm --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Make mouse click extend selection in select mode (#5436)Jonathan LEI2024-02-19
| | | | | * Make mouse click extend selection in select mode * chore: better readability with `Option::take()`
* fix LSP ComplitionTriggerKind value for `TriggerKind::Auto` (#9660)nkitsaini2024-02-19
|
* Add textobject queries for HCL (#9658)Jaakko Paju2024-02-18
| | | | | * Add textobject queries for HCL * Add to lang-support.md
* Add textobject queries for Nix (#9659)Jaakko Paju2024-02-18
| | | | | * Add textobject queries for Nix * Add to lang-support.md
* Add docker-compose language (#9661)Malpha2024-02-18
| | | | | | | | | | | | | | | * languages: add docker-compose language it uses docker-compose-langserver as lsp And yaml for syntax highlighting, indents and injections * languages: add luajit as a shebang of lua This helps to provide syntax highlighting and other lua goodies when writing luajit * book(update): run cargo xtask docgen * since #8006 full filenames uses glob
* add monokai soda theme (#9651)Jimmy Zelinskie2024-02-18
|
* Scroll cursor and page together (neovim-like scrolling) (#8015)AlexanderDickie2024-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * neovim like scroll function * clear line annotations outside of move_vertically/_visual * add nvim scroll function to commands * assign nvim-scroll to C-d and C-u (half page scrolls) * dont remove backspace and space mapping * move non-softwrap logic to seperate function, call this in nvim-scroll fn * Revert "move non-softwrap logic to seperate function, call this in nvim-scroll fn" This reverts commit e4905729c338a2260e6981f1d8fac022897b4191. * Revert "clear line annotations outside of move_vertically/_visual" This reverts commit 1df3fefe55afc840d1ab5094b2116d1127fc363f. * add TODO for when inline diagnostics gets merged * move nvim-scroll logic into scroll(), dont respect scrolloff * run cargo fmt * run cargo clippy * update documenation for Ctrl-d and Ctrl-u remap
* Add tmux.conf as a bash file type (#9653)Vince Varga2024-02-18
| | | | | | | | | | | | | | | * Add conf as a bash file type Tmux and tmux.conf is used widely in software developer circles. Having the tmux.conf file not have any syntax highlighting by default is (IMO) not ideal for an editor that otherwise "just works". * Use tmux.conf glob instead of simply conf for tmux Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Improve textobjects for parameter/argument for Dart (#9644)melted-brownie2024-02-17
| | | Co-authored-by: Sébastien Blondiau <sebastien.blondiau@iot-d.com>
* Add Rust fields as argument textobject (#9637)Vivek Kethineni2024-02-17
| | | | | * added field_declaration_list and field_initializer_list as parameter textobjects * removed field_declaration_listt from textobjects.scm
* Fix Sonokai theme to better match original (#5379)Nick Condron2024-02-17
| | | | | | | | | | | | | | | | | | | | | | * Make sonokai palette perfectfully faithful * Amend theme to better match original sonokai Changes based on the following references: (1) https://www.sainnhe.dev/post/contributing-guide/#sonokai (2) https://github.com/sainnhe/sonokai/blob/master/colors/sonokai.vim * Make constants white (1) * Make builtin variables purple (1) * Make members orange (1) * Make labels red (2) * Make operators red (1) * Make all punctuation grey (2) * Make builtin functions and macros green (2) * Make diff delta blue (2) * Make cursor match bg4 (2) * Make visible whitespace bg4 (2) * Make Sonokai special punctuation yellow
* Remove unwrap on line option, preventing DAP crash (#9632)Matt2024-02-16
| | | | | * Remove unwrap on line option, preventing DAP crash, ref #4683 * Update to fall back to existing values for option fields
* Bump tree-sitter-erlang, add `*.app.src` file-type (#9627)Michael Davis2024-02-14
|
* Allow numbers as second input event (#8471)Mehdi Abedi2024-02-14
| | | | | | | | | | | | | | | * Make sure pending key list is empty when count handling This will allow using numbers as second key event. * count handling; add an exception for 'g' * Lookup the key event before considering a number as count * Avoid the allocation of another vec for the pending keys --------- Co-authored-by: x <x@torrent>
* Add changes to history when paste-replacing (#9625)Mihir Gadgil2024-02-13
|
* fix lsp config reload (#9415)kyfanc2024-02-13
| | | | | | | | `syn_loader` was replaced rather than interior value being replace, old value was still being referenced and not updated after `:config-refresh`. By using `ArcSwap` like for `config`, each `.load()` call will return the most updated value. Co-authored-by: kyfan <kyfan@email>
* build(deps): bump cc from 1.0.83 to 1.0.85 (#9618)dependabot[bot]2024-02-13
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump unicode-segmentation from 1.10.1 to 1.11.0 (#9617)dependabot[bot]2024-02-13
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump clipboard-win from 5.0.0 to 5.1.0 (#9616)dependabot[bot]2024-02-13
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump thiserror from 1.0.56 to 1.0.57 (#9615)dependabot[bot]2024-02-13
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* theme: horizon-dark fix constructor color (#9493)ves2024-02-12
| | | | | | | | | | | | | | | | | * theme: add horizon-dark * fix whitespace color and gutter selected * taplo fmt * markup and color tweaks markup colors diff colors better comment and menu colors * horizon-dark: fix constructor color makes Some and None to look better and more like the vscode theme
* Add support for Odin's formatter (#9537)Chris2024-02-12
|
* build(deps): bump toml from 0.7.6 to 0.8.10 (#9539)dependabot[bot]2024-02-12
| | | | | | | | | | | | | | Bumps [toml](https://github.com/toml-rs/toml) from 0.7.6 to 0.8.10. - [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.6...toml-v0.8.10) --- updated-dependencies: - dependency-name: toml 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>
* Adding Curzon theme (#9553)Gagan Janjua2024-02-12
| | | | | * adding Curzon theme * Adding cursive strings
* docs: Document that what the `diff` gutter symbol does (#9587)Mark Stosberg2024-02-12
| | | | | | | | Before there was no document about what the `diff` gutter is displaying or what the colors mean. These docs clarify it's a `git` diff and makes it easier to cross-reference the theme if you aren't sure what the colors mean or want to change them.
* Added "zon" file type to zig language section. (#9582)Tom Manner2024-02-12
| | | `build.zig.zon` is what 0.11.0 uses for external dependencies. The syntax is a subset of zig and can be highlighted and formatted like normal zig code.
* feat(languages): use `fish_indent` as the formatter for fishkpbaks2024-02-12
|
* feat(languages): add formatter for justkpbaks2024-02-12
|
* Dracula whitespace color changes (#9588)Chirikumbrah2024-02-12
| | | | | * added color to render whitespace characters * made some alphabet sort
* Add Hoon (#9190)iko2024-02-12
| | | | | | | | | | | | | | | * Added Hoon * Added highlights.scm * Updated docs * Update runtime/queries/hoon/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* minor: Fix compilationBlaž Hrastnik2024-02-12
|
* Add required-root-patterns for situational lsp activation (#8696)ontley2024-02-12
| | | | | | | | | | | | | | | | | | | * 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 ca8ce123e8d77d2ae8ed84d5273a9b554101b0db.
* sonokai: Add color modes support and change contrast between ruler and bg ↵HumanEntity2024-02-12
| | | | | | | (#9376) * Added `editor.color-modes` option support * Less contrast between bg and ruler
* languages: add CEL, SpiceDB schema language (#9296)Jimmy Zelinskie2024-02-12
| | | | | | | | | | | | | | | | | * 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>
* build(deps): bump tempfile from 3.9.0 to 3.10.0 (#9538)dependabot[bot]2024-02-12
| | | | | | | | | | | | | | | 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>