aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/typeprof.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/typeprof.lua')
-rw-r--r--lsp/typeprof.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lsp/typeprof.lua b/lsp/typeprof.lua
new file mode 100644
index 00000000..523d0582
--- /dev/null
+++ b/lsp/typeprof.lua
@@ -0,0 +1,10 @@
+---@brief
+---
+---https://github.com/ruby/typeprof
+--
+-- `typeprof` is the built-in analysis and LSP tool for Ruby 3.1+.
+return {
+ cmd = { 'typeprof', '--lsp', '--stdio' },
+ filetypes = { 'ruby', 'eruby' },
+ root_markers = { 'Gemfile', '.git' },
+}