summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-08-06 20:10:10 +0200
committerAlan Pearce2023-08-06 20:13:34 +0200
commitbd5657e49a14242cfc5aa604e75eb7ce58a76467 (patch)
treec1f268562cbd6dc7789ab84ac577d2afb79bef26 /user
parent6f3d29be538d7961cd60e9f45cf44a75bcd621c9 (diff)
downloadnixfiles-bd5657e49a14242cfc5aa604e75eb7ce58a76467.tar.lz
nixfiles-bd5657e49a14242cfc5aa604e75eb7ce58a76467.tar.zst
nixfiles-bd5657e49a14242cfc5aa604e75eb7ce58a76467.zip
development: enable intelligent completion in ruby files
Diffstat (limited to 'user')
-rw-r--r--user/settings/development/base.nix1
-rw-r--r--user/settings/tabnine.nix5
2 files changed, 6 insertions, 0 deletions
diff --git a/user/settings/development/base.nix b/user/settings/development/base.nix
index b0737677..63c4adcd 100644
--- a/user/settings/development/base.nix
+++ b/user/settings/development/base.nix
@@ -18,6 +18,7 @@ in
       nodePackages.vscode-json-languageserver
       nodePackages.yaml-language-server
       lua-language-server
+      rubyPackages.solargraph
       multimarkdown
 
       just
diff --git a/user/settings/tabnine.nix b/user/settings/tabnine.nix
index 891e5aba..9aa5b84f 100644
--- a/user/settings/tabnine.nix
+++ b/user/settings/tabnine.nix
@@ -22,6 +22,7 @@
         haskell = "Enabled";
         html = "Enabled";
         javascript = "Enabled";
+        ruby = "Enabled";
         nix = "Enabled";
         scss = "Enabled";
         typescript = "Enabled";
@@ -78,6 +79,10 @@
         command = "docker-langserver";
         args = [ "--stdio" ];
       };
+      "language.ruby" = {
+        command = "solargraph";
+        args = [ "stdio" ];
+      };
       "language.yaml" = {
         command = "yaml-language-server";
         args = [ "--stdio" ];