diff --git a/after/ftplugin/ruby.lua b/after/ftplugin/ruby.lua index 2f5366f..4f14c0b 100644 --- a/after/ftplugin/ruby.lua +++ b/after/ftplugin/ruby.lua @@ -2,10 +2,8 @@ local map = LazyVim.safe_keymap_set -- map("n", "x", ":lua RunInTerminal('ruby ' .. vim.fn.expand('%'), true)", { buffer = true }) -print("haa") map("n", "x", function() - print("Running ruby file") - -- RunInTerminal("ruby " .. vim.fn.expand('%'), true) + RunInTerminal("ruby " .. vim.fn.expand("%"), true) end, { desc = "Execute ruby file", buffer = true }) -- vim.cmd([[