2024-06-02 09:33:52 +02:00
|
|
|
-- Compatibility with Neovim 0.9
|
2024-06-01 20:46:56 +02:00
|
|
|
return {
|
2024-06-02 09:33:52 +02:00
|
|
|
-- Use LuaSnip instead of native snippets
|
2024-06-02 17:47:25 +02:00
|
|
|
{ "garymjr/nvim-snippets", enabled = false },
|
2024-06-01 20:46:56 +02:00
|
|
|
{ import = "lazyvim.plugins.extras.coding.luasnip" },
|
2024-06-02 09:33:52 +02:00
|
|
|
|
2024-12-12 07:22:24 +01:00
|
|
|
-- Use nvim-cmp instead of blink.cmp
|
|
|
|
{ import = "lazyvim.plugins.extras.coding.nvim-cmp" },
|
|
|
|
|
2024-06-02 09:33:52 +02:00
|
|
|
-- Use mini.comment instead of ts-comments
|
|
|
|
{ "folke/ts-comments.nvim", enabled = false },
|
|
|
|
{ import = "lazyvim.plugins.extras.coding.mini-comment" },
|
|
|
|
|
2024-06-04 11:14:48 +02:00
|
|
|
-- Use neodev-types with lazydev
|
|
|
|
{ "folke/neodev.nvim", config = function() end },
|
|
|
|
{
|
|
|
|
"folke/lazydev.nvim",
|
|
|
|
opts = function(_, opts)
|
|
|
|
opts.library = opts.library or {}
|
|
|
|
table.insert(opts.library, { "neodev.nvim/types/stable" })
|
|
|
|
end,
|
|
|
|
config = function(_, opts)
|
|
|
|
-- force lazydev to load on Neovim 0.9
|
|
|
|
require("lazydev.config").have_0_10 = true
|
|
|
|
require("lazydev").setup(opts)
|
|
|
|
end,
|
|
|
|
},
|
2024-06-01 20:46:56 +02:00
|
|
|
{
|
2024-06-02 09:33:52 +02:00
|
|
|
"neovim/nvim-lspconfig",
|
2024-06-04 11:14:48 +02:00
|
|
|
dependencies = {},
|
2024-06-01 20:46:56 +02:00
|
|
|
},
|
2024-06-14 11:13:56 +02:00
|
|
|
|
|
|
|
-- dummy import to save core imports
|
|
|
|
{
|
|
|
|
import = "foobar",
|
|
|
|
enabled = function()
|
|
|
|
LazyVim.plugin.save_core()
|
|
|
|
return false
|
|
|
|
end,
|
|
|
|
},
|
2024-06-01 20:46:56 +02:00
|
|
|
}
|