Last active
July 15, 2023 04:12
-
-
Save mengwangk/61b241f451136a749f55f6f742166485 to your computer and use it in GitHub Desktop.
Neovim PDE -Flutter, Kotlin, Ruby, and Other Languages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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