Fix after plugin

This commit is contained in:
Marcelo Jacobus 2025-06-29 22:22:36 -03:00
parent 8d9c189b00
commit a48af40c68

View file

@ -1,10 +1,10 @@
-- after/ftplugin/ruby.lua -- after/ftplugin/ruby.lua
local lspconfig = require("lspconfig") -- local lspconfig = require("lspconfig")
lspconfig.ruby_lsp.setup({ -- lspconfig.ruby_lsp.setup({
cmd = { vim.fn.expand("~/.asdf/shims/ruby"), "-S", "ruby-lsp" }, -- cmd = { vim.fn.expand("~/.asdf/shims/ruby"), "-S", "ruby-lsp" },
}) -- })
local map = LazyVim.safe_keymap_set local map = vim.keymap.set
-- map("n", "<leader>x", ":lua RunInTerminal('ruby ' .. vim.fn.expand('%'), true)<CR>", { buffer = true }) -- map("n", "<leader>x", ":lua RunInTerminal('ruby ' .. vim.fn.expand('%'), true)<CR>", { buffer = true })