Add more neovim plugins

This commit is contained in:
Mateusz Słodkowicz 2026-03-25 21:18:58 +01:00
parent ec3cac1c98
commit 7a2647d5ae
Signed by: materus
SSH Key Fingerprint: SHA256:rzVduzTiiszuYfLPYD0SDZV+g8lxhpcRgpbOZA1X0Uo

View File

@ -26,6 +26,31 @@ if vim.fn.executable("git") == 1 then
local opts = {} local opts = {}
local plugins = { local plugins = {
{
"folke/lazydev.nvim",
ft = "lua", -- only load on lua files
opts = {
library = {
-- See the configuration section for more details
-- Load luvit types when the `vim.uv` word is found
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
},
},
},
{ -- optional cmp completion source for require statements and module annotations
"hrsh7th/nvim-cmp",
opts = function(_, opts)
opts.sources = opts.sources or {}
table.insert(opts.sources, {
name = "lazydev",
group_index = 0, -- set group index to 0 to skip loading LuaLS completions
})
end,
},
{
'https://github.com/neovim/nvim-lspconfig'
},
{ {
'stevearc/oil.nvim', 'stevearc/oil.nvim',
---@module 'oil' ---@module 'oil'