Skip to content

Commit

Permalink
add Sorbet support for Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Sep 19, 2022
1 parent 780ceea commit 7c35d02
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions dotfiles/helix/default.nix
@@ -1,10 +1,20 @@
{ pkgs, ... }: {
programs.helix = {
enable = true;
languages = [{
name = "rust";
auto-format = true;
}];
languages = [
{
name = "rust";
auto-format = true;
}
{
name = "ruby";
roots = ["Gemfile" "Gemfile.lock"];
language-server = {
command = "srb";
args = [ "typecheck" "--lsp" ];
};
}
];

settings = {
theme = "monokai_pro_machine";
Expand Down

0 comments on commit 7c35d02

Please sign in to comment.