Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #668 from Quintasan/add-rtx-configuration-example
Browse files Browse the repository at this point in the history
Add configuration instructions for rtx version manager
  • Loading branch information
andyw8 authored Aug 3, 2023
2 parents 0620ef2 + 11e550b commit aa268d9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ command that will activate the right Ruby version or simply add the Ruby bin fol
}
```

See [version managers](VERSION_MANAGERS.md) for user-contributed configuration examples.

#### Configuring a formatter

The tool to be used for formatting files can be configured with the following setting.
Expand Down
15 changes: 15 additions & 0 deletions VERSION_MANAGERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Custom version managers

Below you can find user-contributed configurations for less common version managers.

## rtx

[rtx](https://github.com/jdxcode/rtx) is a Rust clone compatible with asdf. You can use it by adding the following
snippet to your user configuration JSON

```json
{
"rubyLsp.rubyVersionManager": "custom",
"rubyLsp.customRubyCommand": "eval \"$(rtx env -s zsh)\"" // Instructions for zsh, change for bash or fish
}
```

0 comments on commit aa268d9

Please sign in to comment.