aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Create helix-stdx crate for stdlib extensionsMichael Davis2024-01-18
| | | | | | | | | | | | | helix-stdx is meant to carry extensions to the stdlib or low-level dependencies that are useful in all other crates. This commit starts with all of the path functions from helix-core and the CWD tracking that lived in helix-loader. The CWD tracking in helix-loader was previously unable to call the canonicalization functions in helix-core. Switching to our custom canonicalization code should make no noticeable difference though since `std::env::current_dir` returns a canonicalized path with symlinks resolved (at least on unix).
* Address clippy lints (#9371)Daniel Sedlak2024-01-17
|
* feat(lsp): implement show document request (#8865)Matouš Dzivjak2024-01-17
| | | | | | | | | | | | | | | | | | | | | | * feat(lsp): implement show document request Implement [window.showDocument](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#window_showDocument) LSP server-sent request. This PR builds on top of helix-editor#5820, moves the external-URL opening functionality into shared crate-level function that returns a callback that is now used by both the `open_file` command as well as the window.showDocument handler if the URL is marked as external. * add return * use vertical split * refactor --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Made inlay-hints not look like normal code (#9370)HumanEntity2024-01-17
| | | Added `"ui.virtual.whitespace" = { fg = "grey_dim" }` line
* Exit a language server if it sends a message with invalid json (#9332)Ben Dennis2024-01-17
| | | | | | | | | | | | | | | | | | | | | | | * Keep lsp event listener thread alive when malformed json is encountered from the lsp server * Update unexpected error flow in recv() to close outstanding requests and close the language server * Log malformed notifications as info instead of error * Make close_language_server a nested function inside recv, similar to what's done in send * Update malformed notification log text * Clean up new log text a bit * Initialize recv_buffer closer to where it's used * Use "exit" instead of "close" * Remove whitespace * Remove the need for a helper method to exit the language server * Match on Unhandled error explicitly and keep catch-all error case around
* Support PureScript's new spago.yaml configs (#9362)Jeremy Brudvik2024-01-17
|
* Delete .ignore (#9363)Kirawi2024-01-17
| | | This isn't being used for anything anymore.
* update tempfile dev-dependency to 3.9 (#9359)Kirawi2024-01-17
|
* build(deps): bump cachix/cachix-action from 13 to 14 (#9347)dependabot[bot]2024-01-16
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump cachix/install-nix-action from 24 to 25 (#9346)dependabot[bot]2024-01-16
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump thiserror from 1.0.52 to 1.0.56 (#9345)dependabot[bot]2024-01-16
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump anyhow from 1.0.78 to 1.0.79 (#9344)dependabot[bot]2024-01-16
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump rustix from 0.38.28 to 0.38.30 (#9342)dependabot[bot]2024-01-16
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump smallvec from 1.11.2 to 1.12.0 (#9341)dependabot[bot]2024-01-16
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix export instructions in installation doc (#9306)JR2024-01-15
|
* Select subtree within injections in :tree-sitter-subtree (#9309)Michael Davis2024-01-15
| | | | | | | `:tree-sitter-subtree` could previously only print subtrees of nodes in the root injection layer. We can improve on that by finding the layer that contains the given byte range and printing the subtree within that layer. That gives more useful results when a selection is within an injection layer.
* Bump tree-sitter to latest master (#9317)Michael Davis2024-01-15
| | | | * query capture names now return `&str`s rather than `String`s * the `#any-of?` predicate is now supported
* ignore empty TS nodes in match bracketPascal Kuthe2024-01-15
|
* don't crash in plaintext bracket match (mm) on empty filePascal Kuthe2024-01-15
|
* Change path normalization strategy to not resolve symlinks (#9330)woojiq2024-01-14
|
* Make nix flake respect unused grammars (#9326)Sebastian Zivota2024-01-14
| | | | | | | | | | | | | * Make nix flake respect unused grammars * Use default value * Refactor * Take use-grammars.only into account --------- Co-authored-by: Sebastian Zivota <sebastian.zivota@mailbox.org>
* Fallback to filename for +arg (#9333)jw0132024-01-14
|
* Remove sourcehut tree-sitter grammars from default build (#9316)Michael Davis2024-01-11
| | | | | | | | | | | Sourcehut has outages occasionally that cause the CI and from-source builds to fail. It also doesn't setup redirects when a user renames themselves, so if a user that publishes a tree-sitter grammar we use changes their sourcehut name then it breaks the build and any prior builds using that grammar. For now let's remove them from the default build. It's a bandaid over a larger reliability and trust problem with the grammar repositories but it should fix the build for now.
* Revert "build(deps): bump ahash from 0.8.6 to 0.8.7" (#9294)Pascal Kuthe2024-01-11
|
* make sure to sync views when applying edits to unfocused views (#9173)Gabriel Dinner-David2024-01-09
|
* health - add formatter to display (#7986)Sammo982024-01-09
|
* Normalize `S-<lower-ascii>` keymaps to uppercase ascii (#9213)Michael Davis2024-01-09
|
* Initialize diagnostics when opening a document (#8873)Philipp Mildenberger2024-01-09
|
* added voxed theme (#9164)rojebd2024-01-09
|
* update comment grammar (#9253)Kirawi2024-01-09
|
* update history of a newly focused view (#9271)Pascal Kuthe2024-01-09
|
* Check for rename support before showing LSP rename prompt (#9277)Michael Davis2024-01-09
|
* don't automatically dismiss zero width diagnostics (#9280)Pascal Kuthe2024-01-09
|
* build(deps): bump serde_json from 1.0.109 to 1.0.111 (#9284)dependabot[bot]2024-01-09
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump ignore from 0.4.21 to 0.4.22 (#9283)dependabot[bot]2024-01-09
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump libc from 0.2.151 to 0.2.152 (#9282)dependabot[bot]2024-01-09
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump ahash from 0.8.6 to 0.8.7 (#9281)dependabot[bot]2024-01-09
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump serde from 1.0.193 to 1.0.195 (#9285)dependabot[bot]2024-01-09
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* runtime/themes: adding "ttox" theme (#8524)Tomas2024-01-08
| | | | | * runtime/themes: adding 'ttox' theme * Improving primary selections
* feat: update wren tree-sitter grammar (#8544)Greedwolf DSS2024-01-08
| | | Co-authored-by: masai.dss <masai.dss@bytedance.com>
* Info on how to skip grammar build when building from source (#8698)NitinKM2024-01-08
| | | | | | | | | | | | | * info: no grammar compile Added instructions on how to compile without compiling grammars * Update book/src/install.md Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update goto_file docs (#8563) (#9001)jw0132024-01-08
| | | | | | Make the pluralization of files and selections consistent to emphasize the 1-to-1 relation between files and selections. The prior wording with plural "files" and singular "selection" can mislead users into thinking the command can open multiple files from a single selection.
* Add textobject queries for protobuf grammar. (#9184)Ryan Roden-Corrent2024-01-08
| | | | | | | | | | | Given `message Foo {string s = 1;}` - `mat` selects `message Foo {string s = 1}` - `mit` selects `{string s = 1;}` Given `service SearchService { rpc Search(Req) returns (Resp); } - `mit` or `mat` selects `Req` or `Resp` - `mif` or `maf` selects `rpc Search(Req) returns (Resp);` - `mit` selects { rpc Search(Req) returns (Resp); }` - `mat` selects `service SearchService { rpc Search(Req) returns (Resp); }`
* Update tokyonight themes (#9099)Paul Graydon2024-01-08
|
* Add textobject queries for Scala (#9191)Jaakko Paju2024-01-08
|
* Add HOCON language support (#9203)Jaakko Paju2024-01-08
| | | | | | | | | | | | | | | * Add HOCON language support * Remove error query Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Change include query * Fix query error --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Fix: misleading active tab color in monokai_pro* (#9148)DuckDuckWhale2024-01-08
|
* Add auto-pairs to scheme language support (#9232)petrak@2024-01-04
| | | | | Currently, typing a single quote in a `.scm` file "helpfully" auto- completes a closing quote. This is because there is no auto-pairs section in the languages.toml. This commit adds that.
* remove build warnings (#9180)Tshepang Mbambo2024-01-04
|
* build(deps): bump serde_json from 1.0.108 to 1.0.109 (#9201)dependabot[bot]2024-01-04
| | | | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.108 to 1.0.109. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.108...v1.0.109) --- 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>