Skip to content

Instantly share code, notes, and snippets.

@mengwangk
Last active July 15, 2023 04:12
Show Gist options
  • Save mengwangk/61b241f451136a749f55f6f742166485 to your computer and use it in GitHub Desktop.
Save mengwangk/61b241f451136a749f55f6f742166485 to your computer and use it in GitHub Desktop.
Neovim PDE -Flutter, Kotlin, Ruby, and Other Languages
if not require("config").pde.ruby then
return {}
end
return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed, {
"ruby",
})
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
solargraph = {},
},
},
},
{
"mfussenegger/nvim-dap",
optional = true,
dependencies = {
"suketa/nvim-dap-ruby",
config = function()
require("dap-ruby").setup()
end,
},
},
{
"nvim-neotest/neotest",
optional = true,
dependencies = {
"olimorris/neotest-rspec",
},
opts = {
adapters = {
["neotest-rspec"] = {},
},
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment