diff options
author | Abouzar Parvan <[email protected]> | 2021-07-17 11:04:29 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-17 02:34:29 -0400 |
commit | 7f978fd2d35d415a3daefbd86564ab5b48ecadd7 (patch) | |
tree | cbecc0f5f6bd8730ced488152f715f5e41ab457b /lua/lang/ruby.lua | |
parent | 47ede1e2c2b67202f533320160e048157b1f76ac (diff) |
Ruby debugging support (#969)
* Ruby debugging support
* add comment for ruby debugging requirements
Diffstat (limited to 'lua/lang/ruby.lua')
-rw-r--r-- | lua/lang/ruby.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lua/lang/ruby.lua b/lua/lang/ruby.lua index 84db32d3..ba8927cf 100644 --- a/lua/lang/ruby.lua +++ b/lua/lang/ruby.lua @@ -62,8 +62,11 @@ M.lsp = function() end M.dap = function() - -- TODO: implement dap - return "No DAP configured!" + -- gem install readapt ruby-debug-ide + if O.plugin.dap.active then + local dap_install = require "dap-install" + dap_install.config("ruby_vsc_dbg", {}) + end end return M |